lib/chronic/repeaters/repeater_year.rb in chronic-0.1.2 vs lib/chronic/repeaters/repeater_year.rb in chronic-0.1.3

- old
+ new

@@ -26,9 +26,12 @@ this_year_start = Time.local(@now.year, @now.month, @now.day) + Chronic::RepeaterDay::DAY_SECONDS this_year_end = Time.local(@now.year + 1, 1, 1) when :past this_year_start = Time.local(@now.year, 1, 1) this_year_end = Time.local(@now.year, @now.month, @now.day) + when :none + this_year_start = Time.local(@now.year, 1, 1) + this_year_end = Time.local(@now.year + 1, 1, 1) end Chronic::Span.new(this_year_start, this_year_end) end \ No newline at end of file