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.

There was a problem

You must be a member of this account.

rathboma's latest activity

Thursday, June 24 2010
4958 ActiveRecord's to_json method ignores timezone when serializing Time objects was created in Ruby on Rails
  • rathboma
    rathboma created the ticket at 4:46 PM

    Simple example to demonstrate (tested in Rails 2.3.5):

    now = Time.parse("Thu Jun 24 15:41:23 UTC 2010")
    now2 = Time.parse(now.to_json)

    check these results out:
    ...