[Toybox] [PATCH] xparsedate: support UTC offsets.

enh enh at google.com
Mon Aug 3 17:07:46 PDT 2020


Requested in https://github.com/landley/toybox/issues/130, quoting an
old version of the toybox help. This is also supported by coreutils.

Set $LANG to C in the date tests so that they pass with TEST_HOST=1
(they were already failing for me, presumably related to a newer glibc).
---
 lib/xwrap.c       | 48 +++++++++++++++++++++++++++++++++++++----------
 tests/date.test   | 10 ++++++++++
 toys/posix/date.c |  3 +++
 3 files changed, 51 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xparsedate-support-UTC-offsets.patch
Type: text/x-patch
Size: 4957 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200803/bbad5143/attachment-0002.bin>


More information about the Toybox mailing list