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(-)
From 082fbf349a0db5f5b85aee9a1078fd910ad9794f Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Mon, 6 Jan 2020 13:38:01 -0800
Subject: [PATCH] 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(-)
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
--
2.24.1.735.g03f4e72817-goog
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net