Home | History | Annotate | Download | only in date

Lines Matching defs:format

95 	const char *format;
118 "-d only supports ISO format in the tool version");
125 "%s: Unrecognized date format", optarg);
138 case 'R': /* RFC-5322 email format */
185 format = *argv;
189 format = "+%a, %-e %b %Y %H:%M:%S %z";
191 format = "+%a %b %e %H:%M:%S %Z %Y";
203 format = *argv;
211 while (strftime(buf, bufsiz, format, tm) == 0)
219 err(EXIT_FAILURE, "Cannot allocate format buffer");
369 " using format ``%s''\n", p, fmt);
378 const char * const e = "Bad POSIX format date ``%s''";
573 "Usage: %s [-ajnRUu] [-d date] [-r seconds] [-z zone] [+format]",
578 " %s [-ajnRu] -f input_format new_date [+format]\n",