rails/rails — Issue #4507: DateTime.xmlschema overwrites passed parameter
Author: tomekr
Created: 2012-01-17 21:46:21+00:00
State: open

Rails 3.1.0
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

this is the only string i have seen that produces this result

```
>> datetime_string = "2006-02-13T10:37:00.000-05:00"
=> "2006-02-13T10:37:00.000-05:00"
>> datetime_string
=> "2006-02-13T10:37:00.000-05:00"
>> DateTime.xmlschema( datetime_string )
=> Mon, 13 Feb 2006 10:37:00 -0500
>> datetime_string
=> " "
```