diff options
author | Jim Meyering <meyering@redhat.com> | 2011-08-30 23:02:28 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-08-31 20:00:19 +0200 |
commit | df9cd0a426a9b52ddfcd1c17e368a89fa3c6fbde (patch) | |
tree | aa037377f35247ecd739bef2a788654438947d05 /NEWS | |
parent | 683ee76ad23371a3fc0543ab35445f237820572c (diff) | |
download | coreutils-df9cd0a426a9b52ddfcd1c17e368a89fa3c6fbde.tar.xz |
date: support parsing of ISO-8601-with-"T" dates
Thanks to an improvement in gnulib's parse-datetime module,
commands like this now succeed (output manually indented):
$ ./date -u -d 2004-02-29T16:21:42.33+07:00 +%FT%T.%N%z
2004-02-29T09:21:42.330000000+0000
* tests/misc/date: Add a test to exercise the new-in-gnulib
parsing of ISO8601-with-"T" dates.
* NEWS (New features): Mention it.
* gnulib: Update, to pull in this parse-datetime improvement.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -54,6 +54,12 @@ GNU coreutils NEWS -*- outline -*- ** New features + date now accepts ISO 8601 date-time strings with "T" as the + separator. It has long parsed dates like "2004-02-29 16:21:42" + with a space between the date and time strings. Now it also parses + "2004-02-29T16:21:42" and fractional-second and time-zone-annotated + variants like "2004-02-29T16:21:42.333-07:00" + md5sum accepts the new --strict option. With --check, it makes the tool exit non-zero for any invalid input line, rather than just warning. This also affects sha1sum, sha224sum, sha384sum and sha512sum. |