(parser_control): rels_seen is now a boolean, not a
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2005 19:53:39 +0000 (19:53 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2005 19:53:39 +0000 (19:53 +0000)
commitf73032325fbc15ab15610e815904f42f3f46256a
tree0743636f46d3207646b7aac6392d7527b197c856
parent1d113b5a2cb7cbbea65d7ed9d7278880701fc742
(parser_control): rels_seen is now a boolean, not a
count, since there's no maximum.  All uses changed.
Add member dsts_seen.
(local_zone): Accumulate dsts_seen rather than relying on tm_isdst
not being INT_MAX.
(get_date): Initialize dsts_seen, and check that it doesn't go over 1.
Use pc_rels_seen to decide whther a date is absolute.

(number): Don't overwrite year.
(get_date): Initialize pc.year.digits to 0, not 4, to enable above
check.
lib/getdate.y