]> Cypherpunks repositories - gostls13.git/commit
time: always run ZoneAbbr test
authorAlberto Donizetti <alb.donizetti@gmail.com>
Sat, 4 Aug 2018 10:04:52 +0000 (12:04 +0200)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Mon, 20 Aug 2018 14:39:59 +0000 (14:39 +0000)
commit099498db0e47ba01ec405ca27662d9a87ef921e2
tree85033417e007bafe3ccf3ec313060f7b0ce153e0
parent2556df0ac0bf7ddb39ece91856ad94f5676b1b07
time: always run ZoneAbbr test

CL 52430 added logic to skip the testZoneAbbr test in locales where
the timezone does not have a three-letter name, because the following
line

  Parse(RFC1123, t1.Format(RFC1123))

failed for timezones with only numeric names (like -07).

Since Go 1.11, Parse supports the parsing of timezones with numeric
names (this was implemented in CL 98157), so we can now run the test
unconditionally.

Change-Id: I8ed40e1ba325c0c0dc79c4184a9e71209e2e9a02
Reviewed-on: https://go-review.googlesource.com/127757
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/zoneinfo_windows_test.go