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.

Geoff Buesing's latest activity

Monday, March 02 2009
2112 Time.now doesn't respect config.time_zone was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to wontfix
    by Geoff Buesing at 10:02 PM

    This is correct behavior: Time.now is not affected by config.time_zone/Time.zone.

    To get the current time in Time.zone, use Time.zone.now.

Wednesday, February 25 2009
2066 Time + Duration misbehaves on DST boundary was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to open
    • Milestone cleared.
    by Geoff Buesing at 3:27 PM

    I agree, this is wonky behavior. Reason it exists at all is because, in the days before Rails had a proper Duration class (i.e., 2006), this was a way to fake a...

Friday, February 20 2009
748 Date and Time classes i18n/l10n implementation was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from open to wontfix
    by Geoff Buesing at 4:50 PM

    Thanks for looking into this.

Sunday, February 15 2009
1964 [patch] mysql time_zone should reflect default_timezone was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 5:43 PM

    What's a good example use case where this would come in handy? In your example above, you're setting the connection time zone to "+0:0", i.e., UTC, which means ...

Saturday, February 14 2009
1964 [patch] mysql time_zone should reflect default_timezone was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to wontfix
    by Geoff Buesing at 5:53 PM

    ActiveRecord's default_timezone setting indicates whether your database is storing timestamps in UTC or the system local zone. It does not indicate, nor is it m...

Sunday, February 08 2009
1899 Time Zone Offset Bug was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to open
    by Geoff Buesing at 10:00 PM

    Code looks good to go -- you just need to generate your diff with "git format-patch" so that it applies cleanly with "git am". Thanks!

879 Finding the days/weeks/months/years between two dates was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to hold
    by Geoff Buesing at 9:53 PM

    A lot of different ideas in this thread. I don't think we know enough about the common use cases to extract anything into core yet -- best to try some of these ...

1701 Ruby rss stdlib conflict with Time#to_s(:format) was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to open
    • Title changed from ArgumentError in time_with_zone.rb:146 to Ruby rss stdlib conflict with Time#to_s(:format)
    by Geoff Buesing at 7:19 PM

    A fix for this would be nice.

1255 time.end_of_day not entirely accurate was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from open to incomplete
    by Geoff Buesing at 7:15 PM

    Please reopen if you have a patch for this

864 String.to_datetime doesn't take into account timezone or second fractions was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from open to stale
    by Geoff Buesing at 6:24 PM

    Please reopen if you have a patch for this