seejohnrun/ice_cube — Issue #55: Excluding times from weekly rule not working
Author: tomtaylor
Created: 2011-12-26 11:18:08+00:00
State: open

I have a schedule set up like so:

IceCube::Schedule.new(Time.zone.local(2011, 6, 14, 14, 0, 0)).tap do |schedule|
schedule.add_recurrence_rule IceCube::Rule.weekly.day(:tuesday, :thursday)
schedule.add_exception_time Time.zone.local(2011, 12, 27, 14, 0, 0)
end

But it doesn't seem to respect the exception time, and insists the next occurence is exactly the same time as the exception.