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
time: loadZoneFile() doesn't forward error returned while reading zoneinfo file. #9723
Loading ZoneInfo accesses disk which can fail for various reasons. The method time.loadZoneFile() does not expose these errors to time.LoadLocation(). Hence, it reports a generic "unknown time zone" error as an effect to such failures.
@dsymonds: who is aware of this problem.
I think this is an issue because
Here's my proposal:
@rsc, does that sound okay to you?