time: Time.MarshalBinary loses monotonic component #20255
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +8db4d02 Fri Apr 28 07:27:25 2017 +0000 darwin/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
By adding patch in
src/time/time.go
I run this program
What did you expect to see?
What did you see instead?
BTW, I found related issue #12914 and #19502, and I propose to rm final field
m=±<value>
inTime.String()
, since we should follow the way wall clock is used to show time, and monotonic clock is used to comparison.The text was updated successfully, but these errors were encountered: