rossta / montrose

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

Fix weekly interval include #137

Closed rossta closed 3 years ago

rossta commented 3 years ago

When using an interval, an infinite recurrence can return incorrect results for #include?.

The #include? method optimization for infinite recurrences is adjusted to take the given interval into account.

Fixes #132