diff options
-rw-r--r-- | ChangeLog | 25 | ||||
-rw-r--r-- | doc/ChangeLog | 9 | ||||
-rw-r--r-- | lib/ChangeLog | 11 |
3 files changed, 45 insertions, 0 deletions
@@ -1,3 +1,28 @@ +2005-09-13 Paul Eggert <eggert@cs.ucla.edu> + + * NEWS: date has a new --rfc-3339 option, and the old --iso-8601 + option is deprecated. date and ls also have new time format + specifiers %:z, %::z, %:::z. + * src/date.c (TIME_SPEC_DATE): No longer needs to be nonzero, so + remove the "=1". + (TIME_SOEC_HOURS, TIME_SPEC_MINUTES): Must be at end now, so put + them there. + (time_spec_string, time_spec): Hours and minutes must be at + start now, so put them there. + (rfc_2822_format): Now a string constant, not a boolean. All uses + changed. + (iso_8601_format, rfc_format): Remove. + (RFC_3339_OPTION): New constant. + (long_options): Add --rfc-3339. + (usage): Add --rfc-3339. Don't mention --iso-8601. + Mention %:z, %::z, %:::z. + (main): Simplify calculation of 'format'; it was getting too hairy + to follow. Add --rfc-3339. + (show_date): Assume format arg is not NULL, which is the case + now. The default code is moved to 'main'. This simplifies things + and allows the default to be calculated just once. + * tests/misc/date: Add tests for --rfc-3339. + 2005-09-13 Jim Meyering <jim@meyering.net> * Version 5.3.1-cvs. diff --git a/doc/ChangeLog b/doc/ChangeLog index 15703ab53..d47206514 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,12 @@ +2005-09-13 Paul Eggert <eggert@cs.ucla.edu> + + * coreutils.texi (Time conversion specifiers, Options for date): + Document date --rfc-3339 and new specifiers %:z, %::z, %:::z. Use + "date and time" consistently; the old version sometimes said "time + and date". Fix a minor bug in the documentation for --rfc-2822: + it claimed day-of-month < 10 had leading space, not leading zero. + Use a consistent format for terms like "RFC". + 2005-09-08 Paul Eggert <eggert@cs.ucla.edu> * coreutils.texi (nice invocation): Document "niceness" versus diff --git a/lib/ChangeLog b/lib/ChangeLog index 2e960e1ac..2762fbcb5 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2005-09-13 Paul Eggert <eggert@cs.ucla.edu> + + * strftime.c (my_strftime): Add support for %:z, %::z, %:::z. + Fix bug in formats like %2N. + 2005-09-13 Jim Meyering <jim@meyering.net> * xalloc.h: Revert unintended change that removed definitions @@ -69,6 +74,12 @@ %0Ns wouldn't work. Before this change, `date -d @-22 +%05s' would print `00-22'. Now, it prints `-0022', as it should. +2005-08-15 Bruno Haible <bruno@clisp.org> + + Import from gnulib. + * regex.h (__restrict_arr): Don't define to __restrict if __cplusplus + is defined. + 2005-08-13 Jim Meyering <jim@meyering.net> * getdate.y (get_date): Undo part of the 2005-04-04 change, so that |