lib/chronic/repeaters/repeater_day_name.rb in chronic-0.5.0 vs lib/chronic/repeaters/repeater_day_name.rb in chronic-0.6.0
- old
+ new
@@ -22,10 +22,10 @@
end
else
@current_date += direction * 7
end
next_date = @current_date.succ
- Span.new(Time.construct(@current_date.year, @current_date.month, @current_date.day), Time.construct(next_date.year, next_date.month, next_date.day))
+ Span.new(Chronic.construct(@current_date.year, @current_date.month, @current_date.day), Chronic.construct(next_date.year, next_date.month, next_date.day))
end
def this(pointer = :future)
super
\ No newline at end of file