Files
gnu-coreutils/lib
Jim Meyering 6e5149f0ab 1997-01-06 Paul Eggert <eggert@twinsun.com>
* getdate.y: Rewrite to use mktime.

<sys/timeb.h>: Don't include.
(mktime): Declare.

(struct timeb, timezone, DOOMSDAY, SECSPERDAY, DSTMODE, yyDSTmode,
ToSeconds, Convert, DSTcorrect, RelativeDate, RelativeMonth): Remove.
(ToHour): New function (part of the old ToSeconds fn).
(ToYear): New function (part of the old Convert fn).

(TABLE.value, yyDayOrdinal, yyDayNumber, yyTimezone, yyDay, yyHour,
yyMinutes, yyMonth, yySeconds, yyYear, yyRelMonth, yyRelSeconds,
Number): Now int instead of time_t.
(HOUR): Don't cast to time_t.

(tDAY_UNIT, tHOUR_UNIT, tYEAR_UNIT): New %tokens.
(UnitsTable): Use new units that are closer to the keywords.

(yyRelDay, yyRelHour, yyRelMinutes, yyRelYear): New variables.
(rel, relunit, get_date): Add support for them.

(time): Fix timezone calculations for negative half-hour offsets
when integer division truncates towards minus infinity.

(zone): Incorporiate DST calculation directly.

(get_date): 2nd arg is now time_t *, not struct timeb *.
Use mktime to do most of the work, instead of computing it ourselves.
Guard against falsely reporting errors near the time_t boundaries
when parsing times in other time zones.
1997-01-18 15:32:16 +00:00
..
.
1996-10-22 03:09:55 +00:00
,
1996-10-09 02:27:56 +00:00
.
1996-09-28 18:09:13 +00:00
1996-07-15 03:36:16 +00:00
1996-07-15 03:56:06 +00:00
1996-07-15 03:36:16 +00:00
.
1996-10-29 13:47:56 +00:00
.
1996-10-29 17:55:38 +00:00
1996-07-15 03:38:07 +00:00
1996-07-15 03:36:16 +00:00
1996-10-29 14:45:55 +00:00
1996-07-15 03:36:16 +00:00
1996-07-15 03:36:16 +00:00
.
1996-10-09 02:35:23 +00:00
1996-12-27 03:36:53 +00:00
1996-07-15 03:56:06 +00:00
1996-07-15 03:56:06 +00:00
.
1996-10-29 17:56:06 +00:00
1996-07-11 03:57:04 +00:00
1997-01-18 13:44:49 +00:00
.
1996-10-09 02:36:55 +00:00
1996-07-15 03:56:06 +00:00
1996-11-24 03:05:11 +00:00
.
1996-11-03 23:44:15 +00:00
1996-11-24 03:05:11 +00:00
.
1996-10-29 18:06:05 +00:00
1996-07-15 03:36:16 +00:00
.
1996-10-10 14:07:29 +00:00
1996-07-15 03:36:16 +00:00
.
1996-10-29 13:41:43 +00:00
.
1996-10-17 03:01:19 +00:00
1997-01-03 03:16:29 +00:00
.
1997-01-03 03:24:22 +00:00
1996-11-04 17:59:28 +00:00
1996-11-04 17:58:21 +00:00
1996-11-02 05:59:20 +00:00
1996-11-02 06:00:18 +00:00
.
1996-10-29 13:40:56 +00:00
1996-07-14 12:44:09 +00:00
1996-11-04 18:01:20 +00:00
.
1996-10-29 13:50:37 +00:00
1996-10-17 03:05:09 +00:00
1996-11-04 17:57:34 +00:00
1996-11-05 04:22:40 +00:00
.
1996-10-29 14:24:52 +00:00
.
1996-10-29 14:25:25 +00:00
1996-07-15 03:36:16 +00:00
1996-11-04 18:15:56 +00:00
1996-12-10 05:22:12 +00:00
.
1996-08-19 02:24:52 +00:00
1996-07-15 00:02:50 +00:00
1996-07-15 03:56:06 +00:00
1996-07-15 03:56:06 +00:00
1996-07-15 03:56:06 +00:00
1996-09-19 12:47:49 +00:00
1996-11-04 18:05:10 +00:00
.
1996-11-04 17:56:16 +00:00
1996-10-09 11:55:22 +00:00
1996-11-24 03:04:12 +00:00
1996-11-24 03:04:12 +00:00
.
1996-10-10 04:14:40 +00:00
1996-07-15 03:36:16 +00:00
1996-07-15 03:36:16 +00:00
1996-07-15 03:56:06 +00:00
1996-07-15 03:56:06 +00:00
1996-07-15 03:56:06 +00:00
1996-11-04 18:07:38 +00:00
1996-07-15 03:56:06 +00:00
1996-07-15 00:04:51 +00:00
1996-12-21 13:51:26 +00:00
.
1996-10-29 13:42:56 +00:00
1996-07-15 03:36:16 +00:00
1996-07-16 04:47:23 +00:00
.
1996-10-10 04:18:05 +00:00
1996-11-02 05:51:53 +00:00
1996-07-15 03:36:16 +00:00
1996-11-04 18:11:58 +00:00
1996-11-21 02:42:52 +00:00
1996-10-17 01:58:19 +00:00
.
1996-11-03 23:43:36 +00:00
1996-07-15 03:56:06 +00:00
.
1996-10-29 13:57:43 +00:00
.
1996-10-29 17:44:03 +00:00
.
1996-10-29 17:47:50 +00:00
.
1996-10-10 14:08:46 +00:00