Descriptiontime: add Round and Truncate
New in Go 1 will be nanosecond precision in the result of time.Now on Linux.
This will break code that stores time in external formats at microsecond
precision, reads it back, and expects to get exactly the same time.
Code like that can be fixed by using time.Now().Round(time.Microsecond)
instead of time.Now() in those contexts.
Patch Set 1 #Patch Set 2 : diff -r 477b2e70b12d https://go.googlecode.com/hg/ #
Total comments: 13
Patch Set 3 : diff -r 6b602ab487d6 https://code.google.com/p/go/ #
Total comments: 1
Patch Set 4 : diff -r 6b602ab487d6 https://code.google.com/p/go/ #Patch Set 5 : diff -r 6b602ab487d6 https://code.google.com/p/go/ #
MessagesTotal messages: 12
|