From f1fcae994ceea2954263e3936ba252721e24b2fe Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Fri, 29 Oct 2004 21:01:18 +0000
Subject: [PATCH] getdate support for TZ="foo", and documentation.

---
 ChangeLog     |  5 +++++
 doc/ChangeLog |  5 +++++
 lib/ChangeLog | 13 +++++++++++++
 3 files changed, 23 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 13b3fc0a34..6afb0e180d 100644
--- 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.
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 49154f9f6c..c08069a724 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -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
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 41c844324b..32a470b258 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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.
-- 
2.39.5