This project is archived and is in readonly mode.
DateTime in to_xml returns GMT from 3.0.2
Reported by Espen Antonsen | November 24th, 2010 @ 02:26 PM | in 3.0.5
Rails 3.0.1 to_xml: 2010-11-18T14:41:30+01:00
Same code in 3.0.2 and 3.0.3: 2010-11-18T13:41:30+00:00
So the time is correct off course, but shouldn't this output according to chosen timezone as earlier?
Comments and changes to this ticket
-
Aaron Patterson December 7th, 2010 @ 09:49 PM
- Milestone cleared.
- Assigned user set to Aaron Patterson
- Importance changed from to Low
-
Aaron Patterson December 8th, 2010 @ 11:09 PM
- State changed from new to needs-more-info
I think this is a dup of #6069, but I need more information. Can you provide the code that reproduces the problem?
-
Espen Antonsen December 9th, 2010 @ 03:30 AM
Seems to be the same as 6096. However time_zone_aware_attributes is set to true in my project and I still get this behaviour.
-
Aaron Patterson December 15th, 2010 @ 07:27 PM
- State changed from needs-more-info to duplicate
I'm closing this as a duplicate of #6096
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Referenced by
- 6096 to_xml datetime format regression Seems ActiveRecord::Base.time_zone_aware_attributes is se...