Join GitHub today
time: tzinfo for Thailand not present #26029
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
referenced this issue
Jun 24, 2018
This is working as intended.
The name of the timezone is UTC+07:00. The invented three-letter abbreviations are being removed from the tzdata database in favour of the offset names (+07, in this case). We didn't decide this, it's the policy that has been adopted upstream. It started in the 2017a release.
The tzdata 2017a changelog says:
Ah, I did not notice this change.
Under this case, maybe we may need change the behavior
Below is a snippet to reproduce
It returns a error complaining
@agnivade Possibly? It looks like it's only needed for windows and I don't use it so I'm not sure... @alexbrainman committed all that contraption. Alex, can you help us? When should
I just tried it and git diff shows several changes, so it appears that the
Guilty as charged.
You can run it any time. It uses current version of http://unicode.org/cldr/data/common/supplemental/windowsZones.xml and your $GOROOT/lib/time/zoneinfo.zip file.