Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/mobile: time.LoadLocation(): zoneinfo.zip: no such file or directory #13581
What version of Go are you using (go version)?
What operating system and processor architecture are you using?
What did you do?
What did you expect to see?
What did you see instead?
I also encountered the same problem with a "stratch" Docker image (not related to x/mobile).
But I don't know how to do that with
In android zoneinfo file is located in a different location, and moreover, it's in a format that we currently don't support yet (as hinted in cl/10299). Does anyone know where to find the spec of this format?
One can embed zoneinfo.zip file as an asset, but setting ZONEINFO env var seems tricky because afaik asset cannot be accessed through file path like a regular file, and reading of ZONEINFO env var happens pretty early (see src/time/zoneinfo.go).