aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/date.c')
-rw-r--r--toys/posix/date.c5
1 files changed, 3 insertions, 2 deletions
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