<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/test_DaylightSavings.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -64,27 +64,31 @@ class Chronic::RepeaterTime &lt; Chronic::Repeater #:nodoc:
     unless @current_time
       first = true
       midnight = Chronic.time_class.local(@now.year, @now.month, @now.day)
+      
       yesterday_midnight = midnight - full_day
       tomorrow_midnight = midnight + full_day
 
+      offset_fix = midnight.gmt_offset - tomorrow_midnight.gmt_offset
+      tomorrow_midnight += offset_fix
+      
       catch :done do
         if pointer == :future
           if @type.ambiguous?
-            [midnight + @type, midnight + half_day + @type, tomorrow_midnight + @type].each do |t|
+            [midnight + @type + offset_fix, midnight + half_day + @type + offset_fix, tomorrow_midnight + @type].each do |t|
               (@current_time = t; throw :done) if t &gt;= @now
             end
           else
-            [midnight + @type, tomorrow_midnight + @type].each do |t|
+            [midnight + @type + offset_fix, tomorrow_midnight + @type].each do |t|
               (@current_time = t; throw :done) if t &gt;= @now
             end
           end
         else # pointer == :past
           if @type.ambiguous?
-            [midnight + half_day + @type, midnight + @type, yesterday_midnight + @type * 2].each do |t|
+            [midnight + half_day + @type + offset_fix, midnight + @type + offset_fix, yesterday_midnight + @type + half_day].each do |t|
               (@current_time = t; throw :done) if t &lt;= @now
             end
           else
-            [midnight + @type, yesterday_midnight + @type].each do |t|
+            [midnight + @type + offset_fix, yesterday_midnight + @type].each do |t|
               (@current_time = t; throw :done) if t &lt;= @now
             end
           end</diff>
      <filename>lib/chronic/repeaters/repeater_time.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8f501dcbbdd91fbe374300d85fd8b0d34617b0b8</id>
    </parent>
  </parents>
  <author>
    <name>Noah Davis</name>
    <email>noah@weplay.com</email>
  </author>
  <url>http://github.com/mojombo/chronic/commit/a9ad71d446ac589e92883c06beae599b4f8fd0df</url>
  <id>a9ad71d446ac589e92883c06beae599b4f8fd0df</id>
  <committed-date>2008-11-02T19:20:52-08:00</committed-date>
  <authored-date>2008-11-02T19:20:52-08:00</authored-date>
  <message>Fixes and tests to account for beginning and end of daylight savings when offset changes</message>
  <tree>c2cc0c0a2df03d510d3a523081d0f9aad6e83226</tree>
  <committer>
    <name>Noah Davis</name>
    <email>noah@weplay.com</email>
  </committer>
</commit>
