+2007-11-23 Jim Meyering <meyering@redhat.com>
+
+ Add tests to show new class of strings accepted by date -d.
+ * tests/misc/date (rel-1day, rel-plus1): New tests for the recent
+ change in gnulib's getdate.y.
+ * NEWS: Mention the fix.
+
2007-11-22 Jim Meyering <meyering@redhat.com>
Quiet warnings about unused parameters.
cut now diagnoses the '-' in "cut -f -" as an invalid range, rather
than interpreting it as the unlimited range, "1-".
+ date -d now accepts strings of the form e.g., 'YYYYMMDD +N days',
+ in addition to the usual 'YYYYMMDD N days'.
+
du -s now includes the size of any stat'able-but-inaccessible directory
in the total size.
['rel-3a', "-d '$d1 4 seconds ago' $fmt", {OUT=>"$d0 08:17:44"}],
+ # This has always worked, ...
+ ['rel-1day', "-d '20050101 1 day' +%F", {OUT=>"2005-01-02"}],
+ # ...but up to coreutils-6.9, this was rejected due to the "+".
+ ['rel-plus1', "-d '20050101 +1 day' +%F", {OUT=>"2005-01-02"}],
+
['next-s', "-d '$d1 next second' '+%Y-%m-%d %T'", {OUT=>"$d0 $ts"}],
['next-m', "-d '$d1 next minute' '+%Y-%m-%d %T'", {OUT=>"$d0 $tm"}],
['next-h', "-d '$d1 next hour' '+%Y-%m-%d %T'", {OUT=>"$d0 $th"}],