1
0
mirror of https://github.com/golang/go synced 2024-11-23 15:20:03 -07:00
go/lib/time
Ian Lance Taylor 068a832a7e time: read 64-bit data if available
Also store 64-bit data in lib/time/zoneinfo.zip.

The comments argue that we don't need the 64-bit data until 2037 or
2106, but that turns out not to be the case. We also need them for
dates before December 13, 1901, which is time.Unix(-0x80000000, 0).

Fixes #30099

Change-Id: Ib8c9efb29b7b3c08531ae69912c588209d6320e9
Reviewed-on: https://go-review.googlesource.com/c/161202
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-02-26 23:10:35 +00:00
..
README all: use HTTPS for iana.org links 2018-02-13 18:36:48 +00:00
update.bash time: read 64-bit data if available 2019-02-26 23:10:35 +00:00
zoneinfo.zip time: read 64-bit data if available 2019-02-26 23:10:35 +00:00

The zoneinfo.zip archive contains time zone files compiled using
the code and data maintained as part of the IANA Time Zone Database.
The IANA asserts that the database is in the public domain.

For more information, see
https://www.iana.org/time-zones
ftp://ftp.iana.org/tz/code/tz-link.htm
http://tools.ietf.org/html/rfc6557

To rebuild the archive, read and run update.bash.