|
98cf1a06
|
1997-06-01T17:15:51
|
|
(OtherTable): Interpret `next' as 1 (not 2) units.
Patch from Richard Sharman <rsharman@magmacom.com>.
|
|
a8c629e2
|
1997-04-10T03:46:01
|
|
s/;/. in comment to placate francois
|
|
54d6b079
|
1997-02-27T05:53:15
|
|
(tYEAR_UNIT): Increase yyRelYear by $1, not just by 1.
From Andreas Schwab.
|
|
2c1196cc
|
1997-02-22T20:13:19
|
|
(tMONTH_UNIT): Increase yyRelMonth by $1, not just by 1.
(tDAY_UNIT): Likewise for yyRelDay.
(tHOUR_UNIT): Likewise for yyRelHour.
(tMINUTE_UNIT): Likewise for yyRelMinutes.
(tSEC_UNIT): Likewise for yyRelSeconds.
|
|
07b2c332
|
1997-01-18T20:17:39
|
|
Indent with GNU indent.
|
|
09426796
|
1997-01-18T20:12:10
|
|
Indent 2 more cpp-directives to reflect nesting.
|
|
764d26f0
|
1997-01-18T20:11:05
|
|
(get_date): Change prototype to reflect const'ness of parameters.
Indent cpp-directives to reflect nesting.
|
|
d1f0e0d4
|
1997-01-18T15:32:16
|
|
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.
|
|
d13a8bfc
|
1996-12-18T03:28:09
|
|
add blank line.
|
|
870ce697
|
1996-12-13T03:05:00
|
|
(IN_CTYPE_DOMAIN): Rename from ISASCII.
(ISDIGIT): New definition from Paul Eggert.
This one evaluates its argument exactly once.
(yylex): Move increment out of ISALPHA argument. Use a
comma-expression instead.
|
|
9f9db322
|
1996-12-10T04:34:18
|
|
(Convert): Don't reject all dates in 2038.
Some fit in 31 bits.
|
|
809464b3
|
1996-12-01T19:15:03
|
|
(date): Interpret the date, L/M/N, as YYYY/MM/DD
if L >= 1000, otherwise as MM/DD/YY. With this change,
date --date=DATE accepts dates like those in an RCS log listing.
|
|
fa854d42
|
1996-11-01T00:32:12
|
|
Remap yacc globals to have gd_ prefix.
Suggestion to do as in gdb/c-exp.y from Tom Tromey.
|
|
5546ba7c
|
1996-09-07T17:42:58
|
|
Define and use upper case variants of ctype.h IS* macros.
From Bruno Haible.
|
|
9d4f95f6
|
1996-03-10T05:00:20
|
|
Merge changes from FSF.
|
|
e131b14f
|
1996-03-06T04:57:01
|
|
(RelativeMonth): Add 1900 to the year so that relative date specs
that push the year through the end of the century work. For example,
`date -d "01/01/1998 3 years" +%Y' now prints 2001.
From Peter Dalgaard (pd@kubism.ku.dk).
|
|
b6c390fc
|
1995-08-07T16:07:28
|
|
Add FIXME comments.
|
|
c9f48301
|
1995-06-07T18:10:17
|
|
(Convert): Use 2037 as threshold, not 1999.
Otherwise years after 1999 are treated as invalid.
From Andreas Schwab.
|
|
a5ebad6e
|
1995-01-27T15:01:25
|
|
.
|
|
cd063a22
|
1995-01-27T15:00:54
|
|
.
|
|
cad3ddc5
|
1995-01-27T05:36:14
|
|
Remove/rewrite some comments.
|
|
fd6a9293
|
1995-01-27T05:22:23
|
|
.
|
|
73448497
|
1994-10-08T00:41:11
|
|
merge with 1.10q
|
|
8f16c54c
|
1994-09-27T20:52:18
|
|
merge with 1.10n1
|
|
1be7ab66
|
1994-09-25T01:25:18
|
|
.
|
|
70317255
|
1994-09-24T19:12:57
|
|
merge with 1.10m
|
|
a96a4ca1
|
1994-09-17T02:47:05
|
|
merge with 1.10j
|
|
e69ce0b9
|
1994-09-08T04:48:47
|
|
merge with 1.10i
|
|
44e6e017
|
1994-09-01T23:20:39
|
|
merge with 1.10h
|
|
c0b7d211
|
1994-04-25T18:34:37
|
|
merge with 1.9.4g
|
|
8d2f9f58
|
1994-04-25T16:34:49
|
|
merge with 1.9.4f
|
|
cac485b4
|
1994-04-24T12:48:45
|
|
Revert 1.14-1.16 changes that removed difftm and modified get_date.
|
|
21d35002
|
1994-04-19T13:40:49
|
|
merge with 1.9.4e
|
|
b4e2cc12
|
1994-04-19T02:30:46
|
|
.
|
|
3fb00e68
|
1994-02-10T19:14:34
|
|
merge with 1.9.2g
|
|
33ca528b
|
1993-12-23T00:38:42
|
|
merge with 1.9.2a
|
|
23dd0807
|
1993-12-23T00:08:30
|
|
.
|
|
fb2a33bb
|
1993-11-10T06:05:05
|
|
merge with 1.9
|
|
2e296bb5
|
1993-11-09T13:21:36
|
|
merge with 1.9
|
|
8cb2dc32
|
1993-10-12T02:42:06
|
|
merge with 1.8.1c
|
|
e174422e
|
1993-10-12T01:52:28
|
|
merge with 1.8.1b
|
|
46d11fcd
|
1993-10-04T21:22:19
|
|
.
|
|
cd47583b
|
1993-10-04T21:20:39
|
|
merge with 1.8.1a
|
|
65eb9052
|
1993-09-08T18:23:16
|
|
merge with 1.8.1 + partial --version and --help
|
|
f4654147
|
1993-04-04T16:36:44
|
|
* [sgi]: Undefine timezone before including <time.h>.
* [time.h vs sys/time.h]: Fix boolean algebra typo from
Mar 31 consolidation.
* Move static dcls of yyerror and yylex to a point
following the definition of those symbols to getdate_{yyerror,yylex}.
|
|
5bcef80b
|
1993-04-04T15:22:00
|
|
update from fsf
|
|
29e59276
|
1992-11-12T04:13:46
|
|
Make tables static and const when possible.
getdate.c (getdate_yyerr, getdate_yylex): Declare these functions static.
|
|
43e78b97
|
1992-11-01T05:44:30
|
|
Initial revision
|