You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to 0.4.0, my dates are formated in json as "2014-12-10 17:04:01 UTC" instead of "2014-12-10T17:04:01.678Z" (iso8601) like it is on 0.3.4.
It seems an object of type JSON::Ext::Generator::State is being passed to to_json which makes the date be outputted in that format.
Any idea how to fix ?
Thanks
The text was updated successfully, but these errors were encountered:
paulsc
changed the title
iso8601 breaks on 0.4.0
iso8601 dates break on 0.4.0
Dec 10, 2014
Hi,
After upgrading to 0.4.0, my dates are formated in json as "2014-12-10 17:04:01 UTC" instead of "2014-12-10T17:04:01.678Z" (iso8601) like it is on 0.3.4.
It seems an object of type JSON::Ext::Generator::State is being passed to to_json which makes the date be outputted in that format.
Any idea how to fix ?
Thanks
The text was updated successfully, but these errors were encountered: