[Toybox] [PATCH] date: add --iso and the %:z output format.

enh enh at google.com
Sat Nov 14 15:06:45 PST 2020


I didn't know until implementing this that --iso is actually called
--iso-8601 and that GNU date will actually accept any prefix. --iso-8
works fine too. I've assumed that --iso (that I always used) and
--iso-8601 (as given in the documentation) are the only two that matter.
---
 tests/date.test   | 15 ++++++++++++
 toys/posix/date.c | 62 +++++++++++++++++++++++++++++++----------------
 2 files changed, 56 insertions(+), 21 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-date-add-iso-and-the-z-output-format.patch
Type: text/x-patch
Size: 6194 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201114/2ea1dc3f/attachment-0002.bin>


More information about the Toybox mailing list