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

Comments

Projects
None yet
3 participants
@gopherbot
Copy link

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

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link
Contributor

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.
You can’t perform that action at this time.