After seeing some puzzling results from time display, I wrote a Go program to go through the entire timeinfo.zip from
iana.org.
The files are in /usr/local/go/lib/time
I even re-ran the script update.bash to get the latest version. No improvement.
12 places are seen by Go.time to have bogus entries
ERR at Location: 'unknown time zone America/Godthab'
ERR at Location: 'unknown time zone America/Santiago'
ERR at Location: 'unknown time zone Antarctica/Palmer'
ERR at Location: 'unknown time zone Asia/Tel_Aviv'
ERR at Location: 'unknown time zone Asia/Jerusalem'
ERR at Location: 'unknown time zone Asia/Gaza'
ERR at Location: 'unknown time zone Asia/Hebron'
ERR at Location: 'unknown time zone Chile/Continental'
ERR at Location: 'unknown time zone Chile/EasterIsland'
ERR at Location: 'unknown time zone Israel'
ERR at Location: 'unknown time zone Pacific/Fiji'
ERR at Location: 'unknown time zone Pacific/Easter'
Israel and some Pacific islands get hit the hardest. I can't tell at this point
where the bug is,
iana.org or the library.
Could you run the program at
https://github.com/RickyS/ZoneInfo and see if you get the same results?
If so, I'll file a bug somewhere.
My system is:
Description: Ubuntu 14.04 LTS
Codename: trusty
Linux sda8 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014 x86_64 GNU/Linux
jessie/sid
go version go1.2.1 linux/amd64
You only have to download the 1 source file, it's completely self-contain for easy testing.
RickyS
P.S. Godthab is in Greenland, not the US. That's not Go's fault.
P.P.S. I tried to think of a conspiracy theory that explains all the locations, but I think human error wins out over malice. Or it's really deep.