aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/deadcode/deadcode.go
diff options
context:
space:
mode:
authorHowJMay <vulxj0j8j8@gmail.com>2021-09-16 18:22:06 +0000
committerIan Lance Taylor <iant@golang.org>2021-09-17 23:18:47 +0000
commitac7c34767dd710643f5f5fea1720a18cc392b7f8 (patch)
tree95095960f57de2ccc379be332a4707d66f63b7b2 /src/cmd/compile/internal/deadcode/deadcode.go
parent07b30a4f77cf89a283c45c338f0cfcb68e15aab1 (diff)
downloadgo-ac7c34767dd710643f5f5fea1720a18cc392b7f8.tar.xz
time: support fractional timezone minutes in MarshalBinary
If the time is in 'LMT' and has fractional minute, then `MarshalBinary()` and `UnmarshalBinary()` will encode/decode the time in `timeBinaryVersionV2` in which the fractional minute is at bit 15 and 16, and presented in seconds. Fixes #39616 Change-Id: Ib762fb5fa26f54b1a8377a5dde0b994dd5a1236a GitHub-Last-Rev: 455d7a2496ba67d4a82890b14d57000e1a8a1415 GitHub-Pull-Request: golang/go#40293 Reviewed-on: https://go-review.googlesource.com/c/go/+/243402 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Carlos Amedee <carlos@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/deadcode/deadcode.go')
0 files changed, 0 insertions, 0 deletions