"Eric G. Miller" <egm2@jps.net> writes:
> After doing that, the results become consistent regardless of the order
> of the calls. You can't use "memset(theTime, 0, sizeof(struct tm))"
> because when tm_isdst = 0 it say daylight savings time is false (which
> you don't know yet from a string like '2001-04-01 02:30:30').
But we don't do that --- we set tm_isdst = -1 so as to ask mktime's
opinion whether the time is DST or not. That is the case that seems
to have some history-dependent behavior ...
regards, tom lane