time: extraneous information in Parse error message for interior element missing leading zero #29912
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
Parsing the time "03:4:05" with layout "15:04:05".
What did you expect to see?
At the last part of the error: cannot parse "4" as "04"
What did you see instead?
cannot parse "4:05" as "04"
The text was updated successfully, but these errors were encountered: