dateutil/dateutil
View on GitHubtzfile reader only reads 32-bit (verson 0) zoneinfo files
Open
#462 opened on Sep 20, 2017
bugenhancementhelp wantedmedium-difficultytime zones
Description
The output of zic includes a 32-bit legacy section and a 64-bit section that encodes the transition times as 64-bit epoch times. Currently we're only reading the first one. What we should do is read the zoneinfo header to determine how long the first section is, seek to the end of that section and see if there's a second "version 2" section, and if so read that one instead, otherwise go back and finish reading the 32-bit version.
This will have almost no real effect at the moment.