[tz] question about mktime_tzname()

Paul Eggert eggert at cs.ucla.edu
Wed Jan 11 20:55:39 UTC 2017

On 01/11/2017 11:39 AM, Arthur David Olson wrote:

> for such environment variables, in what year should application of
> daylight saving start (or should it apply to all years, no matter how
> far in the past)?

Surely it should apply to all years. POSIX doesn't require this (POSIX
specifies only behavior starting in 1970) but it would be odd for a
permanent rule to spring into action only after 1969.

The attached proposed patch does that, and fixes the problem for Kees
Dekker's case. Does this look like the right thing in general? I'm not
quite sure what 'goback' and 'goahead' are supposed to do.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-bug-for-early-late-times-with-POSIX-DST.patch
Type: application/x-patch
Size: 1430 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/tz/attachments/20170111/c81ec46d/0001-Fix-bug-for-early-late-times-with-POSIX-DST.patch>

More information about the tz mailing list