getdate support for TZ="foo", and documentation.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Oct 2004 21:01:18 +0000 (21:01 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Oct 2004 21:01:18 +0000 (21:01 +0000)
ChangeLog
doc/ChangeLog
lib/ChangeLog

index 13b3fc0a34acd93074f5caa7756904484a332f60..6afb0e180df28ae019aa482bece0189ca92422ca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/getdate (Files): Add doc/getdate.texi.
+       (Depends-on): Add setenv, xalloc.
+
 2004-10-24  Paul Eggert  <eggert@cs.ucla.edu>
 
        * modules/regex (lib_SOURCES): Add regex.c.
index 49154f9f6ca6827fa29d3936fd429dc5e7430889..c08069a724a6b03e05757eca9190bf95a687640c 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * getdate.texi: New file, from coreutils with modifications for
+       the new TZ parsing.
+
 2004-02-23  Karl Berry  <karl@gnu.org>
 
        * maintain.texi, standards.texi, make-stds.texi: new files
index 41c844324beb1a8fc01069943d2ff3639b83f77f..32a470b25814842c05e6c5d150dcd37cbbe5dae8 100644 (file)
@@ -1,3 +1,16 @@
+2004-10-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * getdate.y: Add support for TZ="foo" within a date string.
+       Fix some bugs near time_t boundaries.  Reject dates with
+       out-of-range components, e.g., "Sept 31".
+       Include <stdlib.h>, "setenv.h", "xalloc.h".
+       (ISDIGIT_LOCALE): Remove; unused.
+       Note that the TZ and time functions used here are not reentrant.
+       (mktime_ok, get_tz): New functions.
+       (TZBUFSIZE): New constant.
+       (get_date): Parse leading TZ="foo".  Reject out-of-range components;.
+       This requires that we sometimes generate our own TZ="XXX..." setting.
+
 2004-10-27  Derek R. Price  <derek@ximbiot.com>
 
        * mktime.c (not_equal_tm): Remove redundant check.