[Toybox] what is date's -s option supposed to mean?
enh
enh at google.com
Tue Jul 28 13:51:51 PDT 2015
(i don't care about this -- and didn't know it existed before today --
but noticed it while fixing a bug i do care about, the patch for which
i've already sent you...)
the toybox code seems to think -s lets you specify the format used
when setting a time. that doesn't seem to match the coreutils
behavior. experiment suggests that -s takes an argument similar to
-d/--date, which is described thus on the man page:
DATE STRING
The --date=STRING is a mostly free format human readable date string
such as "Sun, 29 Feb 2004 16:21:42 -0800" or "2004-02-29 16:21:42" or
even "next Thursday". A date string may contain items indicating cal‐
endar date, time of day, time zone, day of week, relative time, rela‐
tive date, and numbers. An empty string indicates the beginning of the
day. The date string format is more complex than is easily documented
here but is fully described in the info documentation.
--
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.
1438116711.0
More information about the Toybox
mailing list