This project is archived and is in readonly mode.
ActiveSupport::JSON parses dates
-
Levin Alexander
This is especially bad if the Dates-strings are invalid:
>> ActiveSupport::JSON.decode('{"date":"2009-01-01"}') => {"date"=>Do, 01 Jan 2009} >> ActiveSupport::JSON.decode('{"date":"0000-00-00"}') ActiveSupport::JSON::ParseError: Invalid JSON string >> JSON.load('{"date":"0000-00-00"}') => {"date"=>"0000-00-00"} -
Rishav Rastogi
- Assigned user set to Ryan Bigg
-
Santiago Pastorino
- State changed from new to duplicate