aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec_test.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-02-25 10:01:56 -0800
committerIan Lance Taylor <iant@golang.org>2021-02-27 03:03:29 +0000
commitd9fd38e68ba00a51c2c7363150688d0e7687ef84 (patch)
treeee99e9b392341d700b646a6481863bc43ae79194 /src/os/exec/exec_test.go
parentcda8ee095e487951eab5a53a097e2b8f400f237d (diff)
downloadgo-d9fd38e68ba00a51c2c7363150688d0e7687ef84.tar.xz
time: correct unusual extension string cases
This fixes two uncommon cases. First, the tzdata code permits timezone offsets up to 24 * 7, although the POSIX TZ parsing does not. The tzdata code uses this to specify a day of week in some cases. Second, we incorrectly rejected a negative time offset for when a time zone change comes into effect. Fixes #44385 Change-Id: I5f2efc1d385e9bfa974a0de3fa81e7a94b827602 Reviewed-on: https://go-review.googlesource.com/c/go/+/296392 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions