Skip to content
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: Parse any two-digit day in any month #12333

Closed
rsc opened this issue Aug 26, 2015 · 1 comment
Closed

time: Parse any two-digit day in any month #12333

rsc opened this issue Aug 26, 2015 · 1 comment
Assignees
Milestone

Comments

@rsc
Copy link
Contributor

@rsc rsc commented Aug 26, 2015

time.Parse rejects October 32, but time.Date accepts it (explicitly, in the docs).
Perhaps October 32 should be valid in time.Parse as well.

This would be an alternate approach to the inconsistency that Feb 31 is accepted. See #7268.

@rsc rsc added this to the Go1.6Early milestone Aug 26, 2015
@gopherbot
Copy link

@gopherbot gopherbot commented Aug 31, 2015

CL https://golang.org/cl/14123 mentions this issue.

@robpike robpike closed this in 8b96be1 Sep 10, 2015
@golang golang locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.