]> Cypherpunks repositories - gostls13.git/commit
time: correct path to time zone zip file on Unix
authorRuss Cox <rsc@golang.org>
Tue, 29 Oct 2013 21:11:51 +0000 (17:11 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 29 Oct 2013 21:11:51 +0000 (17:11 -0400)
commita508381e89523c6a1682a1498b196d4262a1504a
tree1d64e6cd12da01f541f90bf1afa6404211ea24ec
parent2e984c2180ae6ae2b1cc678ca9f5b4d6b0fc3747
time: correct path to time zone zip file on Unix

Most Unix systems have their own time zone data,
so we almost never get far enough in the list to
discover that we cannot fall back to the zip file.
Adjust testing to exercise the final fallback.

Plan 9 and Windows were already correct
(and are the main users of the zip file).

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/19280043
src/pkg/time/export_test.go
src/pkg/time/time_test.go
src/pkg/time/zoneinfo_plan9.go
src/pkg/time/zoneinfo_unix.go
src/pkg/time/zoneinfo_windows.go