Lines Matching defs:format
67 " Equivalent to \b--format=%s\b.]"
73 "[f:format?Output the date according to the \bstrftime\b(3) \aformat\a."
75 " \b+\b\aformat\a is equivalent to \b-f\b format."
87 " The fields are:]:[format]{"
98 " [+f?locale default override date format]"
99 " [+F?%ISO 8601:2000 standard date format; equivalent to Y-%m-%d]"
111 " [+L?locale default date format]"
119 " delimter character; \arecent\a format for recent"
120 " dates, \adistant\a format otherwise]"
149 " [+??alternate?use \aalternate\a format if a default format"
151 " \"%?%l\"; export TM_OPTIONS=\"format='\aoverride\a'\""
164 " \b--format\b option, with the addition of these format"
165 " fields:]:[format]{"
166 " [+|?If the format failed before this point then restart"
167 " the parse with the remaining format.]"
171 "[R:rfc-2822?List date and time in RFC 2822 format "
173 "[T:rfc-3339?List date and time in RFC 3339 format according to "
190 "\n[ +format | date ... | file ... ]\n"
206 char* format;
267 now = tmxscan(s, &t, f->format, &u, now, 0);
268 if (!*t && (!f->format || !*u))
294 char* format = 0; /* tmxfmt() format */
308 fmt.format = "";
324 format = "%s";
330 format = opt_info.arg;
346 error(ERROR_SYSTEM|3, "out of space [format]");
348 f->format = opt_info.arg;
352 format = "%a, %-e %h %Y %H:%M:%S %z";
361 format = "%Y-%m-%d";
364 format = "%Y-%m-%d %H:%M:%S.%N%_z";
367 format = "%Y-%m-%d %H:%M:%S%_z";
459 tmxfmt(buf, sizeof(buf), format, now);
470 if ((s = *argv) && !format && *s == '+')
472 format = s + 1;
488 tmxfmt(buf, sizeof(buf), format, now);
497 if (format || show)
499 tmxfmt(buf, sizeof(buf), format, now);