Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using rSchedule instead of rrule #7

Open
jorroll opened this issue Jun 1, 2021 · 0 comments
Open

Consider using rSchedule instead of rrule #7

jorroll opened this issue Jun 1, 2021 · 0 comments

Comments

@jorroll
Copy link

jorroll commented Jun 1, 2021

Even though we only need to look forward, rrule.js has to iterate all the way from the start date (dtstart) every time in order to calculate the next occurrence.

Feel free to ignore this issue, but I maintain rSchedule and invite you to consider using rSchedule (Github (mirror) or Gitlab (original)) as a base instead of rrule.

Unlike rrule, rSchedule begins iterating a rule from the provided start time and does NOT need to calculate all occurrences from the beginning of the rule (though it does need to calculate all occurrences if a rule has a COUNT property).

This being said, rSchedule does not provide support for the BYWEEKNO, BYYEARDAY, or BYSETPOS iCal rules while rrule does. For a tool primarily intended to handle any kind of iCal rule, sticking with rrulejs could be the correct choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant