re PR go/80302 (FAIL: time on systems with tzdata2017b installed)
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 4 Apr 2017 19:37:22 +0000 (19:37 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 4 Apr 2017 19:37:22 +0000 (19:37 +0000)
commitcf26173d18f782932829f001b95a27789850665f
tree3e0006b6c3e1e9723ccea904ec2e6c67f27d1cd9
parente1201dff2f7404ab263a8e75e97e4c0ad72c7e72
re PR go/80302 (FAIL: time on systems with tzdata2017b installed)

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

From-SVN: r246695
libgo/go/time/format_test.go