-
Notifications
You must be signed in to change notification settings - Fork 17.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
time: unknown time zone "Europe/Kyiv" #55899
Comments
cc @rsc |
In my local environment, Go 1.20 is ok. (Unpublished) |
Time zone data is provided by the operating system, not Go itself. |
@veqryn Does the latest timezone file solve your problem? |
@hopehook
That said, looking at master, it does look like Kyiv was added recently. So I'm not sure why Go Play on Tip/Master is failing. |
I confirmed, the master branch solved your problem, the version of playground may not be up to date. |
also cc @dmitshur |
Feasible? It should be easy and have zero potential for disruption. It also would fix errors people are getting on the latest released version of Golang, even though it may not technically be a 'bug'. |
the bundled tzdata needs to be explicitly imported |
See also #38017:
|
|
What version of Go are you using (
go version
)?1.19.1
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?docker golang:1.19.1-bullseye
What did you do?
https://go.dev/play/p/3IiIaz4JUVV
What did you expect to see?
No errors. Valid timezone.
What did you see instead?
unknown time zone Europe/Kyiv
Comments?
After you add Europe/Kyiv, please do not remove the old spelling (Europe/Kiev), as we have a lot of timezone locations saved as strings in our db and hope to be backwards compatible with them.
The text was updated successfully, but these errors were encountered: