-
Notifications
You must be signed in to change notification settings - Fork 18.1k
time: support fractional timezone minutes in MarshalBinary #40293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR (HEAD: 5259b3b) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
5259b3b
to
c236273
Compare
This PR (HEAD: c236273) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
Hi @rsc is there anything that I should add or fix in this pr? |
Message from Hau Yang: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Hau Yang: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Hau Yang: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 2: (6 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
c236273
to
e635355
Compare
This PR (HEAD: e635355) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
d40bddf
to
560fe45
Compare
This PR (HEAD: 560fe45) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
560fe45
to
3ffb959
Compare
This PR (HEAD: 3ffb959) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
Message from Hau Yang: Patch Set 2: (6 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 5: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
3ffb959
to
799caf9
Compare
This PR (HEAD: 799caf9) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
799caf9
to
ef96010
Compare
This PR (HEAD: ef96010) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
ef96010
to
fc29404
Compare
This PR (HEAD: fc29404) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
fc29404
to
e55c117
Compare
This PR (HEAD: e55c117) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
Message from Hau Yang: Patch Set 7: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 9: (5 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
e55c117
to
280628f
Compare
This PR (HEAD: 280628f) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
Message from Hau Yang: Patch Set 10: (5 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 10: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
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 golang#39616
280628f
to
455d7a2
Compare
This PR (HEAD: 455d7a2) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/243402 to see it. Tip: You can toggle comments from me using the |
Message from Hau Yang: Patch Set 11: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 11: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Go Bot: Patch Set 11: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Go Bot: Patch Set 11: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Go Bot: Patch Set 11: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Go Bot: Patch Set 11: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Go Bot: Patch Set 11: TryBot-Result-1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 12: Patch Set 11 was rebased Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 12: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Go Bot: Patch Set 12: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Go Bot: Patch Set 12: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Ian Lance Taylor: Patch Set 12: Code-Review+2 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Hau Yang: Patch Set 12: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
Message from Carlos Amedee: Patch Set 12: Trust+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/243402. |
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: 455d7a2 GitHub-Pull-Request: #40293 Reviewed-on: https://go-review.googlesource.com/c/go/+/243402 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Trust: Carlos Amedee <[email protected]>
This PR is being closed because golang.org/cl/243402 has been merged. |
If the time is in 'LMT' and has fractional minute, then
MarshalBinary()
andUnmarshalBinary()
will encode/decode the timein
timeBinaryVersionV2
in which the fractional minute is atbit 15 and 16, and presented in seconds.
Fixes #39616