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.

This project is archived and is in readonly mode.

Time Zone Offset Bug

#1899

I have found a bug where the Time#to_s(:rfc822) call produces incorrect output on Mac OS X.

I have provided a more in-depth explanation on my blog:

http://zdzolton.wordpress.com/20...

Reported by zachary.zolton (at gmail) · February 6th, 2009 @ 07:27 PM

State: resolved
Milestone: 2.x
Assigned to: Geoff Buesing Geoff Buesing
Importance: none

Activity

  1. Geoff Buesing
    Geoff Buesing
    • State changed from new to open

    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!

    February 8th, 2009 @ 10:00 PM

  2. zachary.zolton (at gmail)
    zachary.zolton (at gmail)
    • Tag changed from activesupport, rfc822, time, timezone to activesupport, patch, rfc822, time, timezone

    Geoff,

    Here's the "git format-patch"-style diff file...

    Cheers,

    Zach

    February 9th, 2009 @ 06:13 PM

  3. Repository
    Repository
    • State changed from open to resolved

    (from [73c91429a18d4b8f083b504dc0829f737f718d44]) Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and non-standard %z directive [#1899 Time Zone Offset Bug state:resolved] http://github.com/rails/rails/co...

    February 10th, 2009 @ 04:40 AM