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: UnmarshalJSON can't parse json string correctly #7407

Closed
gopherbot opened this issue Feb 25, 2014 · 2 comments
Closed

time: UnmarshalJSON can't parse json string correctly #7407

gopherbot opened this issue Feb 25, 2014 · 2 comments

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Feb 25, 2014

by yangjunyong1989:

The function UnmarshalJSON in time package can't parse a json string with the RFC3339
format.

example:
http://play.golang.org/p/LFjOy78pdz
@vdobler
Copy link
Contributor

@vdobler vdobler commented Feb 25, 2014

Comment 1:

2014-02-25T16:05:08Z08:00 is _not_ RFC3339 but
2014-02-25T16:05:08-08:00 is and works as expected.
@rsc
Copy link
Contributor

@rsc rsc commented Mar 4, 2014

Comment 2:

Status changed to WorkingAsIntended.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
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.