lib/chronic/repeaters/repeater_month.rb in gitlab-chronic-0.10.4 vs lib/chronic/repeaters/repeater_month.rb in gitlab-chronic-0.10.5

- old
+ new

@@ -3,10 +3,10 @@ MONTH_SECONDS = 2_592_000 # 30 * 24 * 60 * 60 YEAR_MONTHS = 12 MONTH_DAYS = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] MONTH_DAYS_LEAP = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] - def initialize(type, width = nil, options = {}) + def initialize(type, options = {}) super @current_month_start = nil end def next(pointer)