square/ruby-rrule

not working in the past

Closed this issue · 0 comments

parser does not give any result for past dates:

"rrule FREQ=WEEKLY;BYDAY=MO;INTERVAL=1" "2020-05-11 00:00:00 +0200 to 2020-05-17 00:00:00 +0200" []

future dates:
"rrule FREQ=WEEKLY;BYDAY=MO;INTERVAL=1" "2020-05-18 00:00:00 +0200 to 2020-05-24 00:00:00 +0200" [Mon, 18 May 2020 13:00:03 UTC +00:00]

using rrule_parsed.between(start_date, end_date)

am i mistaken with the assumption that it calculates only future executions?