1
0
mirror of https://github.com/golang/go synced 2024-11-06 03:16:10 -07:00
go/src/time
Alberto Donizetti 91563ced58 time: make the ParseInLocation test more robust
The tzdata 2017a update (2017-02-28) changed the abbreviation of the
Asia/Baghdad time zone (used in TestParseInLocation) from 'AST' to the
numeric '+03'.

Update the test so that it skips the checks if we're using a recent
tzdata release.

Fixes #19457

Change-Id: I45d705a5520743a611bdd194dc8f8d618679980c
Reviewed-on: https://go-review.googlesource.com/37964
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-03-09 18:31:42 +00:00
..
example_test.go
export_android_test.go
export_test.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
export_windows_test.go
format_test.go time: make the ParseInLocation test more robust 2017-03-09 18:31:42 +00:00
format.go time: format negative monotonic times correctly in Time.String 2017-02-09 02:41:15 +00:00
genzabbrs.go
internal_test.go
mono_test.go time: strip monotonic time in t.Round, t.Truncate 2017-03-02 13:52:08 +00:00
sleep_test.go
sleep.go time: update Timer.Stop doc to account for AfterFunc 2016-11-11 19:25:24 +00:00
sys_plan9.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
sys_unix.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
sys_windows.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
tick_test.go
tick.go
time_test.go time: add Duration.Truncate and Duration.Round 2017-02-14 00:40:31 +00:00
time.go time: strip monotonic time in t.Round, t.Truncate 2017-03-02 13:52:08 +00:00
zoneinfo_abbrs_windows.go
zoneinfo_android_test.go
zoneinfo_android.go
zoneinfo_ios.go
zoneinfo_plan9.go time: record monotonic clock reading in time.Now, for more accurate comparisons 2017-02-03 19:04:52 +00:00
zoneinfo_read.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
zoneinfo_test.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
zoneinfo_unix.go
zoneinfo_windows_test.go
zoneinfo_windows.go time: record monotonic clock reading in time.Now, for more accurate comparisons 2017-02-03 19:04:52 +00:00
zoneinfo.go time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00