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

Closed
austincb1 opened this issue Sep 23, 2015 · 1 comment
Closed

time: time.Parse parses invalid dates #12728

austincb1 opened this issue Sep 23, 2015 · 1 comment

Comments

@austincb1
Copy link

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: http://play.golang.org/p/R4hQhgy24d

@bradfitz
Copy link
Contributor

Intentional. See #12333.

@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.
Projects
None yet
Development

No branches or pull requests

3 participants