jkbrzt / rrule

JavaScript library for working with recurrence rules for calendar dates as defined in the iCalendar RFC and more.
https://jkbrzt.github.io/rrule
Other
3.27k stars 507 forks source link

Rule.all() is returning empty array. #533

Open Alligatore3 opened 2 years ago

Alligatore3 commented 2 years ago

This bug is also present in the demo page (have a try)

When trying to retrieve all the occurrences with rule.all(iterator) there's a 🐛 with this model:

Every month on the 1st Monday, Thu

The rule is returning as expected RRULE:FREQ=MONTHLY;BYDAY=+1MO,TH meanwhile the .all() is empty []

Reporting an issue

Thank you for taking an interest in rrule! Please include the following in your report: