Closed kelvinst closed 3 years ago
Totals | |
---|---|
Change from base Build 78: | 0.0% |
Covered Lines: | 289 |
Relevant Lines: | 289 |
Thank you for your contribution.
Hey @pbogut, can you mark the PR with the label hacktoberfest-accepted
so it gets elegible for the t-shirt for me? 😂
Closes #19
On monthly repetitions, invalid dates like 2020-11-31 can be generated.
The way the lib was working until now was that it would fallback to the last day of the month in that case, but as the RFC for RRULE has a different take on that, I think it is a nice to have, at least as an option.
So I added the
:invalid
option to the rules, allowing the devs either get the invalid dates by setting it to:return
or skipping them by setting to:skip
. Defaults to:fallback