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-numoffset field must be either a minus or plus sign followed by 2 digits a colon and 2 digits.
time-numoffset
However, Parse permits the integer fields having plus and minus signs:
Parse
Parse(time.RFC3339, "0000-01-01T00:00:00+-0:+0")
reports nil rather than an error.
The text was updated successfully, but these errors were encountered:
Change https://go.dev/cl/425038 mentions this issue: time: fix Parse for time zones
time: fix Parse for time zones
Sorry, something went wrong.
c94633d
No branches or pull requests
RFC 3339, section 5.6 specifies that the
time-numoffset
field must be either a minus or plus sign followed by 2 digits a colon and 2 digits.However,
Parse
permits the integer fields having plus and minus signs:reports nil rather than an error.
The text was updated successfully, but these errors were encountered: