Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
time: RFC3339 format parsing is both too lax and too strict #20869
As of Go 1.8.3, the RFC3339 format has several inconsistencies with the actual RFC when parsing a string:
Also, it does not parse leap seconds, which are explicitly allowed under the standard, but that seems more like an intentional design decision.
In reporting this, I am assuming the omission of RFC3339 from the comment:
suggests that you should be able to parse all time formats permitted by it.