SukiSan
Not a member
SukiSan's latest activity
Thursday, May 06 2010
4543
.utc modifies time object
was updated
in Ruby on Rails
-
SukiSan commented at 7:05 PMWell, yeah sure...
The thing that actually confused me was
date = Time.local(2010, 3, 1)
date.utc
date.end_of_month.utc # == end of febEven that makes sense n...
-
- Tag changed from utc time zone to utc
hurk, sorry for bad format and the useless change - I'm new here :-)
t = Time.now
=> Thu May 06 16:15:14 0200 2010t.utc
=> Thu May 06 14:15:14 UTC 2010t
=> Th... -
SukiSan commented at 3:20 PM -
SukiSan created the ticket at 3:20 PMA call to utc modifies the object itself.
t = Time.now => Thu May 06 16:15:14 +0200 2010 t.utc => Thu May 06 14:15:14 UTC 2010 t => Thu May 06 14:15:14 UTC 2...