-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Feature: Support BYSETPOS in MONTHLY rrule's #136
Comments
Yep, it would be and is what I have done to fix the problem. 👍 |
Awesome, in what branch was this merged into? I'd like to take it out for a spin ;) Edit: nvm, it was in master? (9e4850d) I'm a bit vigilant to not let a project use a dev-master dependency, but in case of an implementation of a stale specification, like ical, I think it would quite safe(?) |
I shall create a new release after a few more things have been fixed - until then |
@u01jmg3 thanks for the quick reply! dev-master it is then, looking forward for the release ;) |
Description of the Issue:
As described on #15 it seems that the functionality of using BYSETPOS in a MONTHLY recurring rule is not yet implemented.
Steps to Reproduce:
FREQ=MONTHLY;BYSETPOS=3;BYDAY=MO;INTERVAL=1
would be an example of an occurrence rule.As I'm not yet that familiar with the code, in the monthly recurrence where BYDAY is handled, it seems that in the do-while statement, the next week is passed as the next timestamp to apply the rule on. I'm not sure @u01jmg3 why this is the case, is this to support some rule that says every friday of the month? I'm throwing a wild guess out there, but if BYSETPOS is passed, we already know it's not going to be a weekly recurring event in that month, but a one-off event? Would that be sufficient to only run the do-while once per month instead of incrementing it per week?
The text was updated successfully, but these errors were encountered: