diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-08 22:38:10 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-08 22:38:10 +0000 |
commit | 05af1b4f11c7b03e978d410cbcbcf827fc296cda (patch) | |
tree | 503db3c12e771abc057edb2a4eb34b86f38aae12 /NEWS | |
parent | a00580a677f1665f8934047bf06d1057abb8e061 (diff) | |
download | coreutils-05af1b4f11c7b03e978d410cbcbcf827fc296cda.tar.xz |
Document new UTC+HH:MM date syntax, and put date changes together.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 31 |
1 files changed, 18 insertions, 13 deletions
@@ -36,14 +36,6 @@ GNU coreutils NEWS -*- outline -*- cut's --output-delimiter=D option works with abutting byte ranges. - The --date (-d) option of "date" and "touch" is now pickier about date values: - it rejects dates like "January 32" that have out-of-range components. - Also, date values can now have leading TZ="..." assignments that override - the environment only while that date is being processed. For example, - the following shell command converts from Paris to New York time: - - TZ="America/New_York" date --date='TZ="Europe/Paris" 2004-10-31 06:30' - du no longer segfaults when a subdirectory of an operand directory is removed while du is traversing that subdirectory. Since the bug was in the underlying fts.c module, it also affected @@ -221,12 +213,25 @@ GNU coreutils NEWS -*- outline -*- du accepts a new option --files0-from=FILE, where FILE contains a list of NUL-terminated file names. - `date -d' and `touch -d' now accept integer counts of seconds since - 1970 when prefixed by `@'. For example, `@321' represents - 1970-01-01 00:05:21 UTC. + Date syntax as used by date -d, date -f, and touch -d has been + changed as follows: + + Dates like `January 32' with out-of-range components are now rejected. + + Dates can have fractional time stamps like 2004-02-27 14:19:13.489392193. + + Dates can be entered via integer counts of seconds since 1970 when + prefixed by `@'. For example, `@321' represents 1970-01-01 00:05:21 UTC. + + Time zone corrections can now separate hours and minutes with a colon, + and can follow standard abbreviations like "UTC". For example, + "UTC +0530" and "+05:30" are supported, and are both equivalent to "+0530". + + Date values can now have leading TZ="..." assignments that override + the environment only while that date is being processed. For example, + the following shell command converts from Paris to New York time: - `date -d', `date -f' and `touch -d' now handle fractional time - stamps like 2004-02-27 14:19:13.489392193. + TZ="America/New_York" date --date='TZ="Europe/Paris" 2004-10-31 06:30' `date' has a new option --iso-8601=ns that outputs nanosecond-resolution time stamps. |