+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.
+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
+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
%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