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.

joserwan's latest activity

Thursday, March 18 2010
4224 Time saved as UTC but read as localtime was updated in Ruby on Rails
  • joserwan
    joserwan commented at 7:20 PM

    ugly formatting !

    Exemple :

    d = MyObject.last
    => #
    >> d.created_at
    => Tue, 16 Mar 2010 15:56:53 UTC +00:00
    >> d.created_at = Time.now
    => Thu Mar 18 15:01:22 -0...
  • joserwan
    joserwan created the ticket at 7:18 PM

    Maybe it's a choice, but when you save an object, updated_at for exemple is saved as UTC, but when you do a query for read, time is not converted into UTC time....