mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
time: vendor tzdata-2017b and update test
This change updates the vendored tzdata database to version 2017b (released 2017-03-20). The TestFirstZone test (which always uses the vendored database) is updated to make it work with the new timezones database. (The Tokelau abbreviation was changed from 'TKT' to the numeric abbreviation in tzdata-2017a) Fixes #19376 Change-Id: I0dea93e8703992de5c92c7840b8bacad9d02c50d Reviewed-on: https://go-review.googlesource.com/44832 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
660200528a
commit
fcee1e3739
@ -8,8 +8,8 @@
|
||||
# Consult http://www.iana.org/time-zones for the latest versions.
|
||||
|
||||
# Versions to use.
|
||||
CODE=2016j
|
||||
DATA=2016j
|
||||
CODE=2017b
|
||||
DATA=2017b
|
||||
|
||||
set -e
|
||||
rm -rf work
|
||||
|
Binary file not shown.
@ -87,8 +87,8 @@ func TestFirstZone(t *testing.T) {
|
||||
{
|
||||
"Pacific/Fakaofo",
|
||||
1325242799,
|
||||
"Thu, 29 Dec 2011 23:59:59 -1100 (TKT)",
|
||||
"Sat, 31 Dec 2011 00:00:00 +1300 (TKT)",
|
||||
"Thu, 29 Dec 2011 23:59:59 -1100 (-11)",
|
||||
"Sat, 31 Dec 2011 00:00:00 +1300 (+13)",
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user