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.

SukiSan's latest activity

Thursday, May 06 2010
4543 .utc modifies time object was updated in Ruby on Rails
  • SukiSan
    SukiSan commented at 7:05 PM

    Well, yeah sure...

    The thing that actually confused me was

    date = Time.local(2010, 3, 1)
    date.utc
    date.end_of_month.utc # == end of feb

    Even that makes sense n...

  • SukiSan
    • Tag changed from utc time zone to utc
    by SukiSan at 3:26 PM

    hurk, sorry for bad format and the useless change - I'm new here :-)

    t = Time.now
    => Thu May 06 16:15:14 0200 2010

    t.utc
    => Thu May 06 14:15:14 UTC 2010

    t
    => Th...

  • SukiSan
    SukiSan commented at 3:20 PM
  • SukiSan
    SukiSan created the ticket at 3:20 PM

    A 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...