-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Event): Update
bySetPos
and byMonthDay
This change introduces two fixes to make the repeating rules for bySetPos and byMonthDay consistent with the iCalendar spec. - bySetPos is now allowed to be passed in as both a number or an array. - bySetPos now allows values between -366 to -1 and 1 to 366. - byMonthDay now allows values between -31 to -1 and 1 to 31. - If multiple days are specified for byDay, they are all used in conjunction with bySetPos and none are discarded. Thanks @stevenpal for this contribution. closes #430
- Loading branch information
Showing
4 changed files
with
73 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters