[CalendarServer-users] Important: Unexpected recurrence instances returned

Cyrus Daboo cdaboo at apple.com
Thu Oct 26 06:53:50 PDT 2017


Hi Gaurav,

--On October 25, 2017 at 7:57:46 PM -0700 Gaurav Jain 
<monkeyfdude at gmail.com> wrote:

> I am trying to create an event that occurs every wednesday forever. I use
> following RRULEs but I am getting different results.
>
> Both use cases had the same first DTSTART: 20171026T030000Z
>
> Case 1 (Correct/Expected):
>
> RRULE:FREQ=WEEKLY;WKST=SU
>
> RECURRENCE-ID:   20171102T030000Z, 20171109T030000Z, 20171116T030000Z,
> 20171123T030000Z
>
> -----------------------------------------------------------
>
> Case 2 (Off by 1 day):
>
> RRULE:FREQ=WEEKLY;BYDAY=WE;WKST=SU
>
> RECURRENCE-ID:   20171101T030000Z, 20171108T030000Z, 20171115T030000Z,
> 20171122T030000Z
>
>
> Please note the results in second case are off by 1 day.
>
> What could be wrong?
>

Can you please attach the full iCalendar data for both these events - in 
particular the DTSTART value is crucial in determining how the RRULE 
operates.

-- 
Cyrus Daboo



More information about the calendarserver-users mailing list