support icon indicating copy to clipboard operation
support copied to clipboard

Recurrence rules or iterators not creating correct recurrence pattern.

Open ExtAnimal opened this issue 2 years ago • 0 comments

Forum post

See also https://github.com/bryntum/support/issues/7719

And https://github.com/bryntum/support/issues/8131 could be related.

Non-working rule example 1: Every first Saturday in January/February/March (shows every first Saturday in every month) FREQ=MONTHLY;BYDAY=1SA;BYMONTH=1,2,3 The reason is Monthly iterator doesn't support BYMONTH at the moment. Generally speaking our iterators don't support this part of the RFC:

BYxxx rule parts for a period of time that is the same or greater than the frequency generally reduce or limit the number of occurrences of the recurrence generated

More from the forum post: About the last day of the month: I found this weird rrule for the last day on the month somewhere on the internet. After some more searching I just found another rrule that does work in your calendar: "FREQ=MONTHLY;BYMONTHDAY=-1" (but also here adding ";BYMONTH=1,2,3" doesn't work)

We also want to support the 30th day of the month with only February as exception. In the same stackoverflow page where I found that new rrule there is an answer with my original rrule. For the 30th with fallback they give "FREQ=MONTHLY;BYMONTHDAY=28,29,30;BYSETPOS=-1". In your calendar this shows every month on 28th, 29th and 30th. Do you have any idea on how to get my wanted behaviour in your calendar?

ExtAnimal avatar Jan 10 '24 14:01 ExtAnimal