time: uppercase day/month names are not recognized in format strings #17523
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 1.7
What operating system and processor architecture are you using (
go env
)?play.golang.org
What did you do?
https://play.golang.org/p/ORGoq1knm0
What did you expect to see?
Tue Nov 10 2009
TUE NOV 10 2009
What did you see instead?
Tue Nov 10 2009
MON JAN 10 2009
While "Mon" and "Jan" are parsed as placeholder, I was surprised "MON" and "JAN" are not parsed.
The documentation https://golang.org/pkg/time/ is not sufficient to determine format string specification without examining source code https://golang.org/src/time/format.go .
The text was updated successfully, but these errors were encountered: