JSON DateTime Parsing Helpers
-
Matt Todd
- Milestone changed from Release 0.4.0 to Release 0.5.0
- State changed from new to open
Filed under Release 0.5.0.
-
Matt Todd
Officially (or possibly unofficially), ISO 8601 Dates will be the default format for JSON 2's spec.
See: http://www.json.org/json2.js
Also: http://pastie.org/171357 which is how ActiveSupport automatically parses it.
-
Matt Todd
http://dev.rubyonrails.org/brows...
This is how ActiveSupport parses JSON (via YAML). Nasty but it works.
-
Matt Todd
- State changed from open to resolved
This issue may be resolved by the contributions planned for Merb.
http://merb.lighthouseapp.com/pr...
This just resolves Time#to_json rendering as ISO 8601 text; there's another contribution planned to make JSON.parse to convert text matching the ISO 8601 compatible strings to Time objects.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.