[Toybox] [PATCH] date: some fixes.

enh enh at google.com
Thu Feb 7 19:08:04 PST 2019


Add support for more input formats, primarily the ISO formats used by
the AOSP build.

Also, our interpretation of @UNIXTIME was wrong: surprisingly, it should
respect $TZ.

I've improved/added to the tests a bit to cover these changes, and to
explain the reasons for the various remaining test failures (none of
which are regressions caused by this patch).
---
 tests/date.test   | 49 +++++++++++++++++++++++++++++++----------------
 toys/posix/date.c | 37 ++++++++++++++++++++++++++++-------
 2 files changed, 62 insertions(+), 24 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-date-some-fixes.patch
Type: text/x-patch
Size: 7159 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190207/69bd19aa/attachment-0002.bin>


More information about the Toybox mailing list