<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,7 @@ module ActiveSupport #:nodoc:
           :short        =&gt; &quot;%d %b %H:%M&quot;,
           :long         =&gt; &quot;%B %d, %Y %H:%M&quot;,
           :long_ordinal =&gt; lambda { |time| time.strftime(&quot;%B #{time.day.ordinalize}, %Y %H:%M&quot;) },
-          :rfc822       =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;
+          :rfc822       =&gt; lambda { |time| time.strftime(&quot;%a, %d %b %Y %H:%M:%S #{time.formatted_offset(false)}&quot;) }
         }
 
         def self.included(base) #:nodoc:</diff>
      <filename>activesupport/lib/active_support/core_ext/time/conversions.rb</filename>
    </modified>
    <modified>
      <diff>@@ -461,6 +461,10 @@ class TimeExtCalculationsTest &lt; Test::Unit::TestCase
     with_env_tz &quot;UTC&quot; do
       assert_equal &quot;Mon, 21 Feb 2005 17:44:30 +0000&quot;, time.to_s(:rfc822)
     end
+    with_env_tz &quot;US/Central&quot; do
+      assert_equal &quot;Thu, 05 Feb 2009 14:30:05 -0600&quot;, Time.local(2009, 2, 5, 14, 30, 5).to_s(:rfc822)
+      assert_equal &quot;Mon, 09 Jun 2008 04:05:01 -0500&quot;, Time.local(2008, 6, 9, 4, 5, 1).to_s(:rfc822)
+    end
   end
 
   def test_custom_date_format</diff>
      <filename>activesupport/test/core_ext/time_ext_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5c63be1f92edcd3ed60fae90b8eb129da19c5099</id>
    </parent>
  </parents>
  <author>
    <name>Zachary Zolton</name>
    <login>zdzolton</login>
    <email>zachary.zolton@gmail.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/73c91429a18d4b8f083b504dc0829f737f718d44</url>
  <id>73c91429a18d4b8f083b504dc0829f737f718d44</id>
  <committed-date>2009-02-09T20:38:43-08:00</committed-date>
  <authored-date>2009-02-09T10:04:44-08:00</authored-date>
  <message>Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and non-standard %z directive [#1899 state:resolved]</message>
  <tree>f0d6d1804c9981f661feaacef0c0f910f9bca444</tree>
  <committer>
    <name>Geoff Buesing</name>
    <login>gbuesing</login>
    <email>gbuesing@gmail.com</email>
  </committer>
</commit>
