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

This is not a public project

Geoff Buesing's latest activity

Monday, July 07 2008
558 TimeWithZone fails to unmarshal properly was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to open
    • Assigned user set to Geoff Buesing
    by Geoff Buesing at 9:21 PM

    Good catch. The call to #utc should fix this. In addition to asserting equality in the tests, we should also assert mtime.utc.utc? and mtime.time.utc? to check...

Monday, June 30 2008
504 Time#since DST issue was updated in Ruby on Rails
  • Geoff Buesing
    • Title changed from Rails 2.1 DST Issues to Time#since DST issue
    • State changed from new to open
    • Tag changed from 2.1, bug, timezones to bug, dst, time
    • Assigned user set to Geoff Buesing
    by Geoff Buesing at 12:51 AM

    I think this is because Time#since does a DST adjustment if the passed-in value is >= 86400 seconds -- hence, the difference between adding 24.hours and adding...

Saturday, June 28 2008
195 Convenience methods for time zones outside the U.S. was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 6:48 PM

    re: TimeZone#=~

    1. I think returning just true or nil is fine for now

    2. instead of matching tzinfo.name, which will preload the tzinfo instance for every Ti...

Wednesday, June 25 2008
195 Convenience methods for time zones outside the U.S. was updated in Ruby on Rails
  • Geoff Buesing
    • Tag changed from activesupport, convenient, enhancemen, helper, i18n, patch, timezonece to actionpack, activesupport, i18n, patch, timezone
    by Geoff Buesing at 3:21 PM

    Hmmm why did Lighthouse say I just added all of those tags?

  • Geoff Buesing
    • Tag set to activesupport, convenient, enhancemen, helper, i18n, patch, timezonece
    by Geoff Buesing at 3:14 PM

    Ernie,

    I think the =~ method should be on the TimeZone instance, not the class, so that we're mirroring the semantics of String#=~

    We could then do the on-th...

Friday, June 20 2008
454 ActiveRecord timezone issues was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 3:34 AM

    Time#to_s(:db) ignores Time#zone -- example:

    >> Time.mktime(2008, 06, 20, 0, 31, 7).to_s(:db)
    => "2008-06-20 00:31:07"
    >> Time.utc(2008, 06, 20, 0, 31, 7).t...
Wednesday, June 18 2008
438 Updating Date field recasts value as Time instead of Date was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to invalid
    • Milestone cleared.
    by Geoff Buesing at 5:55 PM
Saturday, June 14 2008
405 next_week does not go to next week was updated in Ruby on Rails
  • Geoff Buesing
    Geoff Buesing commented at 6:32 PM

    ...also, just for reference: if you want to write a test for a specific system time zone, you can set ENV['TZ'] for that test -- see the with_env_tz helper in ...

  • Geoff Buesing
    • State changed from incomplete to resolved
    by Geoff Buesing at 6:26 PM

    Ok, I've looked into this a little more -- this is not an issue with 2.1 (irrespective of whether you're using config.time_zone or the system time zone), but i...

Friday, June 13 2008
405 next_week does not go to next week was updated in Ruby on Rails
  • Geoff Buesing
    • State changed from new to incomplete
    • Assigned user set to Geoff Buesing
    by Geoff Buesing at 4:22 PM

    I wasn't able to replicate this in the console with Rails 2.1.

    Would you be able to provide a failing test case for this?