This project is archived and is in readonly mode.
[PATCH] AS::JSON#decode does not parse xmlschema date strings to Time objects.
-
Elad Meidar
+1 verified, tests fail on 2-3-stable. -1 on patch, errors while attempting to apply.
attached a working patch with passing tests for 2-3-stable
-
Elad Meidar
It crossed my mind that the first patch was not meant to apply on 2-3-stable, and it does apply on master cleanly with tests.
-
Bas van Klinkenberg
Thanks for verifying. The patch is based on master indeed (i'm following the contributor's guide).
-
Wolfram Arnold
- Importance changed from to
Thanks that matches my experience. The DATE_REGEX needs updating.
-
Wolfram Arnold
- Assigned user set to Sven Fuchs
-
Repository
- State changed from new to resolved
(from [e8c870726a67a27965b2a5333a5ecf450d4f458f]) Updated the json date regex to recognize xmlschema formatted date times during json decoding. [#3031 [PATCH] AS::JSON#decode does not parse xmlschema date strings to Time objects. state:resolved]
Signed-off-by: Santiago Pastorino and Emilio Tagua santiago+emilioe@wyeworks.com
https://github.com/rails/rails/commit/e8c870726a67a27965b2a5333a5ec... -
Repository
(from [73b9e43f5d3c9a9a0e5ff2048a5be52352e62eab]) Updated the json date regex to recognize xmlschema formatted date times during json decoding. [#3031 [PATCH] AS::JSON#decode does not parse xmlschema date strings to Time objects. state:resolved]
Signed-off-by: Santiago Pastorino and Emilio Tagua santiago+emilioe@wyeworks.com
https://github.com/rails/rails/commit/73b9e43f5d3c9a9a0e5ff2048a5be...
