You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The suggested change is incorrect because some of the tests will fail if it's applied. This issue can be considered as another instance of #52584, which has a pending fix, golang/time#22 (https://golang.org/cl/406154).
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
run https://go.dev/play/p/WQ3RvLBPzZv
What did you expect to see?
count1, count2 are closer
What did you see instead?
count1: 1001
count2: 1
There maybe a bug in function advance, line 402.
https://github.com/golang/time/blob/master/rate/rate.go#L402
should be
The text was updated successfully, but these errors were encountered: