[tz] POSIX-TZ-environment-variable-style string rules

Alexander Belopolsky alexander.belopolsky at gmail.com
Fri Aug 5 14:33:40 UTC 2016


On Thu, Aug 4, 2016 at 10:02 PM, Paul Eggert <eggert at cs.ucla.edu> wrote:
> I implemented that in the attached patches, which also change zic.c to obey
> the new restriction on tzfile format.

Thanks.  I regenerated the tz files on a 64-bit Fedora and a 32-bit
CentOS with your new code and now system zdump reports correct
transitions:

[a at veertu-fedora tz]$ git describe
2016f-7-ge0a7616
[a at veertu-fedora tz]$ zdump -v `pwd`/etc/zoneinfo/Africa/Casablanca|grep 2037
/home/a/tz/etc/zoneinfo/Africa/Casablanca  Sun Mar 29 01:59:59 2037 UT
= Sun Mar 29 01:59:59 2037 WET isdst=0 gmtoff=0
/home/a/tz/etc/zoneinfo/Africa/Casablanca  Sun Mar 29 02:00:00 2037 UT
= Sun Mar 29 03:00:00 2037 WEST isdst=1 gmtoff=3600
/home/a/tz/etc/zoneinfo/Africa/Casablanca  Sun Oct  4 01:59:59 2037 UT
= Sun Oct  4 02:59:59 2037 WEST isdst=1 gmtoff=3600
/home/a/tz/etc/zoneinfo/Africa/Casablanca  Sun Oct  4 02:00:00 2037 UT
= Sun Oct  4 02:00:00 2037 WET isdst=0 gmtoff=0


More information about the tz mailing list