aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-03-28 20:39:31 -0500
committerRob Landley <rob@landley.net>2017-03-28 20:39:31 -0500
commit36beb530a79fff3d82df2bd1550693ca10d808e8 (patch)
treef172077df89f47fbd9634fc7872aff9c1a0dbe9c /toys
parentc7ed874362a1d9ad7acbd7f14915e383a7d5d945 (diff)
downloadtoybox-36beb530a79fff3d82df2bd1550693ca10d808e8.tar.gz
Don't try to implement %s, we have @seconds, strptime() in libc tends
not to have it, and implementing our own means a pattern like "Time %%%s%%" is expensive to handle the corner cases of.
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/date.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/posix/date.c b/toys/posix/date.c
index 547d38ca..e77ff3a5 100644
--- a/toys/posix/date.c
+++ b/toys/posix/date.c
@@ -35,7 +35,6 @@ 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)