tickle
tickle copied to clipboard
Hopping Daylight Savings Time
ree-1.8.7-2010.02 > t = {:next => Date.today} => {:next=>Tue, 02 Nov 2010} ree-1.8.7-2010.02 > 3.times do ree-1.8.7-2010.02 > t = Tickle.parse('Wednesday', :start => t[:next], :now => t[:next]) ree-1.8.7-2010.02 ?> puts t[:next] ree-1.8.7-2010.02 ?> end Wed Nov 03 12:00:00 -0400 2010 Thu Nov 11 11:00:00 -0500 2010 Wed Nov 17 12:00:00 -0500 2010
Note that the middle one is getting thrown off by daylight savings time which happens this weekend. Any tips?