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: time.Parse parses invalid dates #12728

austincb1 opened this issue Sep 23, 2015 · 1 comment

time: time.Parse parses invalid dates #12728

austincb1 opened this issue Sep 23, 2015 · 1 comment


Copy link

@austincb1 austincb1 commented Sep 23, 2015

go version go1.5.1 windows/amd64
Windows 7, cmd /v says Microsoft Windows [Version 6.1.7601]

time.Parse() parse invalid dates where it should report an error, for example: 31 Jun 2015 and 30 Feb 2015 are not valid.

Example in playground:

Copy link

@bradfitz bradfitz commented Sep 23, 2015

Intentional. See #12333.

@bradfitz bradfitz closed this Sep 23, 2015
@golang golang locked and limited conversation to collaborators Sep 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.