aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-11-10 18:34:38 -0800
committerRob Landley <rob@landley.net>2015-11-12 21:27:07 -0600
commit4e39281c1f380c53ee6ef8b9795111e0695a55be (patch)
treef1187a5b905901588c84042674bf32c0c6aaf804
parentd885b528f2d26435ecff83da9e50e815ac73605b (diff)
downloadtoybox-4e39281c1f380c53ee6ef8b9795111e0695a55be.tar.gz
Document %s in date(1).
-rw-r--r--toys/posix/date.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/posix/date.c b/toys/posix/date.c
index 398b8915..ca0ca533 100644
--- a/toys/posix/date.c
+++ b/toys/posix/date.c
@@ -35,6 +35,7 @@ config DATE
%a short weekday name %A weekday name %u day of week (1-7, 1=mon)
%b short month name %B month name %Z timezone name
%j day of year (001-366) %d day of month (01-31) %e day of month ( 1-31)
+ %s seconds past the Epoch
%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)