summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2016-09-08 01:00:23 -0400
committerAssaf Gordon <assafgordon@gmail.com>2016-09-08 01:00:23 -0400
commitc6389a1340cdc2a74dbbba5db13df009ada3c04c (patch)
treee23ca62fded79ce66a6e3400764f511affedc358 /NEWS
parentd47090d964d31bb4af9872525275372efd3bfdce (diff)
downloadcoreutils-c6389a1340cdc2a74dbbba5db13df009ada3c04c.tar.xz
date: add '--debug' option
Usage example: date --debug -d 'now + 3 days' Print parsing and debugging information to stderr when using date's -d/--date option. See: http://lists.gnu.org/archive/html/coreutils/2016-01/msg00076.html * src/date.c (main): Add '--debug' option, enable debugging in gnulib's parse-datetime.y module. * tests/misc/date.pl: Repeat tests with '--debug' enable, ensure no regression. * tests/misc/date-debug.sh: Test output of '--debug' option. * tests/local.mk: Add above test. * NEWS: Mention new option. * doc/coreutils.texi: Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e99c88b96..580c5f4d7 100644
--- a/NEWS
+++ b/NEWS
@@ -71,6 +71,11 @@ GNU coreutils NEWS -*- outline -*-
tail -f uses polling for "prl_fs" and "smb2", inotify for "m1fs",
and attempts inotify for "wslfs".
+** New Features
+
+ date now accepts the --debug option, to annotate the parsed date string,
+ display timezone information, and warn about potential misuse.
+
* Noteworthy changes in release 8.25 (2016-01-20) [stable]