FW: Time zone error for US cities.

Paul Eggert eggert at CS.UCLA.EDU
Thu Feb 2 22:11:11 UTC 2006


"Olson, Arthur David \(NIH/NCI\) [E]" <olsona at dc37a.nci.nih.gov> writes:

> I am trying to use the Time zone converter and got an error for US
> cities.
>
> The error is:
>
> When I try to convert the New_York time from:
>
>       30-Apr-1972 02:10:30

I'm not sure what the "Time zone converter" is, but that is not a
valid time stamp for New York (as the clocks jumped from 02:00 to
03:00 on that day), so I suppose the "Time zone converter" is
indicating the error by reporting "31-Dec-1969 23:59:59" GMT, which
corresponds to a time_t value of -1, the standard value for indicating
errors.

This doesn't appear to be a bug in the tz data itself; it sounds more
like the "Time zone converter" isn't reporting failed conversions well.

I don't observe this issue with
<http://timezoneconverter.com/cgi-bin/tzc.tzc>; instead, it silently
pretends that you wrote 03:10:30 instead of 02:10:30 and goes on from
there.



More information about the tz mailing list