Skip to content

time: cannot find zone in zip file /usr/local/go/lib/time/zoneinfo.zip #34188

@govardhanpagidi

Description

@govardhanpagidi

What version of Go are you using (go version)?

$ go version 1.11.4

Does this issue reproduce with the latest release?

Not sure

What operating system and processor architecture are you using (go env)?

OS: Ubuntu 16.x
No go Run time, Running as a .deb package

go env Output
$ go env

What did you do?

loc,err := time.LoadLocation(timeZone)

What did you expect to see?

*time.Location as a return value

What did you see instead?

error message : cannot find "Asia/Kolkata" in zip file /usr/local/go/lib/time/zoneinfo.zip

I've tried setting Variable as well but no luck!
$export ZONEINFO=/usr/share/zoneinfo/

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions