-
Notifications
You must be signed in to change notification settings - Fork 138
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
Recurrence rule generates infinite loop even with constraint set #140
Comments
I stand corrected, I tried a slightly different rule:
That is, same as above without sunday, and the generated dates are:
I really do not understand such result, should the rule simply indicate the first day (excluding sunday) of January each year? EDIT: changing the "BYSETPOS" to anything different from "+1" seems to work as expected. |
After performing further tests, it seems that the issue is on "YEARLY" rules with "BYMONTH=1", "BYDAY=..." and "BYSETPOS" different from "+1", in fact using for example "BYMONTH=2" the rule works again. In fact rule
while rule
|
"FREQ=WEEKLY;DTSTART=20200304T153337;DTEND=20200307T192637;INTERVAL=2;BYDAY=TU,WE"
|
I have the following recurrence rule:
The rule should "mean": from the first of January 2018, yearly every first day of January.
When I try to transform it with:
It gets into an infinite loop in which it never tests the constraint and does not honor the transformer "virtual limit".
While I agree that having all seven days listed in the "BYDAY" part is strange, the rule itself should be valid, and I do not understand why it fails; as soon as you remove at least one day from the "BYDAY" part, it works properly.
The text was updated successfully, but these errors were encountered: