aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/syscall_solaris.go
diff options
context:
space:
mode:
authorzhouguangyuan <zhouguangyuan.xian@gmail.com>2021-11-02 23:17:21 +0800
committerIan Lance Taylor <iant@golang.org>2021-11-29 02:12:23 +0000
commitf6103e9b560e1089a1491cc6438b24074ad05957 (patch)
treef0079d3e141a7e72b2c0143e4761bb85d8599efd /src/runtime/syscall_solaris.go
parent7da96592c4d1d92984cef3be6c5cc66c288fc79b (diff)
downloadgo-f6103e9b560e1089a1491cc6438b24074ad05957.tar.gz
go-f6103e9b560e1089a1491cc6438b24074ad05957.zip
[release-branch.go1.16] time: fix looking for zone offset when date is close to a zone transition
The old implement passed start - 1 or end in func lookup to adjust the offset.But if the time is close to the last zoneTrans, like the issue, testcase and comment, the "start" from lookup will be omega. It can't be adjusted correctly. Fixes #49406 Change-Id: Ibaf82dc4db6d5dd3279796f003d2b19c38a26341 Reviewed-on: https://go-review.googlesource.com/c/go/+/360616 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Robert Findley <rfindley@google.com> (cherry picked from commit 90462dfc3aa99649de90bb587af56a9cb0214665) Reviewed-on: https://go-review.googlesource.com/c/go/+/361954 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Diffstat (limited to 'src/runtime/syscall_solaris.go')
0 files changed, 0 insertions, 0 deletions