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

IndexOutOfRangeException when constructing RecurrencePattern #550

Open
derekantrican opened this issue Jun 7, 2022 · 1 comment
Open

Comments

@derekantrican
Copy link

The following throws an IndexOutOfRangeException:

new RecurrencePattern("RRULE:FREQ=WEEKLY;BYDAY=MO;UNTIL=20220708T110000Z;INTERVAL=2;");

After a small amount of testing (which is by no means conclusive), I think the issue is with the trailing semicolon. Removing that does not throw an excepiton.

Can you confirm?

@adamvaul
Copy link

adamvaul commented Aug 3, 2022

I am experienceing a similar issue with this ics data

BEGIN:VCALENDAR
PRODID:-//Syncfusion Inc//Scheduler//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Calendar
X-WR-TIMEZONE:America/Los_Angeles
BEGIN:VEVENT
LOCATION:
SUMMARY:Event 1
UID:1
Categories:
RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;INTERVAL=1;
DTSTART;TZID="America/Los_Angeles":20220802T160000
DTEND;TZID="America/Los_Angeles":20220802T170000
DESCRIPTION:
ISREADONLY:false
END:VEVENT
END:VCALENDAR

When I try to Load a calendar. It is the same issue as above.

Please

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

2 participants