summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-08-30 23:02:28 +0200
committerJim Meyering <meyering@redhat.com>2011-08-31 20:00:19 +0200
commitdf9cd0a426a9b52ddfcd1c17e368a89fa3c6fbde (patch)
treeaa037377f35247ecd739bef2a788654438947d05 /NEWS
parent683ee76ad23371a3fc0543ab35445f237820572c (diff)
downloadcoreutils-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--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index db5a474a0..44e631fc7 100644
--- a/NEWS
+++ b/NEWS
@@ -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.