We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RFC 3339, section 5.6 specifies that the time-second field must be two digits wide, followed by an optional period and one or more digits.
However, Parse permits that field having zero digits and a period and extra digits:
Parse(time.RFC3339, "0000-01-01T00:00:.0+00:00")
reports nil rather than an error.
The text was updated successfully, but these errors were encountered:
Change https://go.dev/cl/425036 mentions this issue: time: fix Parse for empty seconds
time: fix Parse for empty seconds
Sorry, something went wrong.
f9cdc09
No branches or pull requests
RFC 3339, section 5.6 specifies that the time-second field must be two digits wide,
followed by an optional period and one or more digits.
However, Parse permits that field having zero digits and a period and extra digits:
reports nil rather than an error.
The text was updated successfully, but these errors were encountered: