[tz] zdump bug in Asia/Singapore

Paul Eggert eggert at cs.ucla.edu
Sun Sep 7 01:51:55 UTC 2014


Tim Parenti wrote:
> I think there may be an
> off-by-one from expected behavior: It includes transition times taking
> effect at 01-01 00:00:00Z in the previous year, presumably because the
> immediately prior second, included in the output, is 12-31 23:59:59Z.

Sorry, I didn't quite follow that.  The intent is that if there's a 
transition between 12-31 23:59:59.999... UTC in year N and 01-01 00:00 
UTC in year N+1, the transition is reported in year N.  The other way 
would work too, as long as it was done consistently, but this way should 
be a bit easier to compute.


More information about the tz mailing list