From e00ab7de3c5f929adee379da555fb6c678770f28 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 6 Jan 2020 13:38:01 -0800 Subject: date.c: add a few more important specifiers to --help. Odd (and un-toyboxy) that we advertise the locale-specific output formats but not the ISO ones :-) --- toys/posix/date.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'toys/posix/date.c') diff --git a/toys/posix/date.c b/toys/posix/date.c index a1762854..75408cab 100644 --- a/toys/posix/date.c +++ b/toys/posix/date.c @@ -46,8 +46,9 @@ config DATE %U Week of year (0-53 start sunday) %W Week of year (0-53 start monday) %V Week of year (1-53 start monday, week < 4 days not part of this year) - %D = "%m/%d/%y" %r = "%I : %M : %S %p" %T = "%H:%M:%S" %h = "%b" - %x locale date %X locale time %c locale date/time + %F "%Y-%m-%d" %R "%H:%M" %T "%H:%M:%S" %z numeric timezone + %D "%m/%d/%y" %r "%I:%M:%S %p" %h "%b" %s unix epoch time + %x locale date %X locale time %c locale date/time */ #define FOR_date -- cgit v1.2.3