-
Notifications
You must be signed in to change notification settings - Fork 18k
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
time: go 1.5 time.Format layout "5" handled as "05" #12440
Comments
CL https://golang.org/cl/14171 mentions this issue. |
CL https://golang.org/cl/14178 mentions this issue. |
I abandoned cl/14171, and now cl/14178 is the one waiting to get through the code-review. |
thanks! |
CC @robpike |
@foubarre |
This bug is a regression compared to 1.4, if it doesn't make it to 1.5.x we'll need to either:
|
Bug comes with @foubarre We just missed 1.5.1 and 1.5.2 would be for 31.Oct. So if you don't have the possibility to checkout go1.5.1 and fetch this single fix you have try a workaround. |
Our goal for point releases is to only patch critical bugs for which there is no workaround. Unfortunately I don't think this issue rises to that level. |
@ianlancetaylor |
Yes, anything committed to the tree now will be in the 1.6 release. |
Working on commercial software we are contractually bound to fix regressions, however mundane they might seem. |
https://gist.github.com/21ebfbf673ea783b9205 Update github gave me a |
go version go1.5 linux/amd64
c.f. http://play.golang.org/p/hgH-YaTDjR
formatting seconds using "5" layout prefix single digit values with "0" as if layout "05" was used
The text was updated successfully, but these errors were encountered: