[Bug go/80302] FAIL: time on systems with tzdata2017b installed

2017-04-04 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80302

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Ian Lance Taylor  ---
Thanks.  Should be fixed now.

[Bug go/80302] FAIL: time on systems with tzdata2017b installed

2017-04-04 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80302

--- Comment #1 from ian at gcc dot gnu.org  ---
Author: ian
Date: Tue Apr  4 19:37:22 2017
New Revision: 246695

URL: https://gcc.gnu.org/viewcvs?rev=246695&root=gcc&view=rev
Log:
PR go/80302
time: make the ParseInLocation test more robust

This is a backport of https://golang.org/cl/37964 from the gc toolchain.

Original description:

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.

Updates golang/go#19457
Fixes GCC PR 80302.

Reviewed-on: https://go-review.googlesource.com/39470

Modified:
trunk/libgo/go/time/format_test.go