I am noticing that there is a bug in getting date ranges. For example:
irb(main):011:0> n = Nickel.parse "Sundays through Thursdays from Now to August 31"
produces
Occurrence type: weekly, start_date: 20140810, end_date: 20140831, interval: 1, day_of_week: 6, Occurrence type: weekly, start_date: 20140814, end_date: 20140828, interval: 1, day_of_week: 3
I am noticing that there is a bug in getting date ranges. For example:
irb(main):011:0> n = Nickel.parse "Sundays through Thursdays from Now to August 31"
produces
Occurrence type: weekly, start_date: 20140810, end_date: 20140831, interval: 1, day_of_week: 6, Occurrence type: weekly, start_date: 20140814, end_date: 20140828, interval: 1, day_of_week: 3