joserwan
Not a member
joserwan's latest activity
Thursday, March 18 2010
4224
Time saved as UTC but read as localtime
was updated
in Ruby on Rails
-
joserwan commented at 7:20 PMugly 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 created the ticket at 7:18 PMMaybe 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....