]> Cypherpunks.ru repositories - gostls13.git/commit
time: read 64-bit data if available
authorIan Lance Taylor <iant@golang.org>
Wed, 6 Feb 2019 06:52:03 +0000 (22:52 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 26 Feb 2019 23:10:35 +0000 (23:10 +0000)
commit068a832a7e176121a2c0767d55e774f10705c72b
tree8b0703336552374b918bbe574db49dded7476d15
parentc1050a8e54e1e1c06aa02ccf2b36c13a95666121
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>
lib/time/update.bash
lib/time/zoneinfo.zip
src/time/zoneinfo_read.go
src/time/zoneinfo_test.go