rossta / montrose

Recurring events library for Ruby. Enumerable recurrence objects and convenient chainable interface.
https://rossta.net/montrose/
MIT License
843 stars 53 forks source link

Bug: yearly month: (1<) day: {day_of_week: []} #105

Closed leon971 closed 5 years ago

leon971 commented 5 years ago
Montrose.yearly(month: 1, day: {friday: [2]} ).events.take(1)
 => [Fri, 10 Jan 2020 20:20:16 EET +02:00]

This example works. But if month greater than one, it goes forever loop, for example: Montrose.yearly(month: 2, day: {friday: [2]} ).events.take(1)

rossta commented 5 years ago

Thanks for the report!