Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

DateTime in to_xml returns GMT from 3.0.2

#6054

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?

Reported by Espen Antonsen · November 24th, 2010 @ 02:26 PM

State: duplicate
Milestone: 3.0.5
Assigned to: Aaron Patterson Aaron Patterson
Importance: Low

Activity

  1. Espen Antonsen
    Espen Antonsen

    to_json in 3.0.2 returns local timezone as before.

    November 24th, 2010 @ 02:33 PM

  2. Aaron Patterson
    Aaron Patterson
    • Milestone cleared.
    • Assigned user set to Aaron Patterson
    • Importance changed from to Low

    December 7th, 2010 @ 09:49 PM

  3. Aaron Patterson
    Aaron Patterson
    • State changed from new to needs-more-info

    I think this is a dup of #6069 Support MS SQL Server in Arel, but I need more information. Can you provide the code that reproduces the problem?

    December 8th, 2010 @ 11:09 PM

  4. Aaron Patterson
  5. Espen Antonsen
    Espen Antonsen

    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.

    December 9th, 2010 @ 03:30 AM

  6. Aaron Patterson
    Aaron Patterson
    • State changed from needs-more-info to duplicate

    I'm closing this as a duplicate of #6096 to_xml datetime format regression

    December 15th, 2010 @ 07:27 PM

  7. Santiago Pastorino