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

Comments

@rsc
Copy link
Contributor

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

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

@golang golang locked and limited conversation to collaborators Sep 22, 2016
@rsc rsc unassigned robpike Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants