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

Google Calendar ical `EXDATE not correctly parsed #43

Closed
Fix007 opened this issue Dec 6, 2022 · 3 comments · Fixed by #44
Closed

Google Calendar ical `EXDATE not correctly parsed #43

Fix007 opened this issue Dec 6, 2022 · 3 comments · Fixed by #44
Labels
bug Something isn't working

Comments

@Fix007
Copy link

Fix007 commented Dec 6, 2022

Google Calendar's implementation of EXDATE does not follow the specification. Instead of comma-separated datetimes, each EXDATE is written to a new line.

Therefore only the last EXDATE is in the parsed object.

Example:

BEGIN:VEVENT
DTSTART;TZID=Europe/Berlin:20221205T000000
DTEND;TZID=Europe/Berlin:20221205T020000
RRULE:FREQ=DAILY
EXDATE;TZID=Europe/Berlin:20221210T000000
EXDATE;TZID=Europe/Berlin:20221208T000000
DTSTAMP:20221206T203724Z
UID:6vui5pik8466jo53fhh503ssd9@google.com
CREATED:20221206T102926Z
LAST-MODIFIED:20221206T102926Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Just a quick summary
TRANSP:OPAQUE
END:VEVENT
@TesteurManiak TesteurManiak added the bug Something isn't working label Dec 7, 2022
@TesteurManiak
Copy link
Owner

I'll look into it whenever I can, for the time being you can try overriding the parsing logic for the field with the methods unregisterField and registerField.

@TesteurManiak
Copy link
Owner

Your issue should be fixed and the package has been published under the version 1.1.0 on pub.dev.

@Fix007
Copy link
Author

Fix007 commented Dec 7, 2022

Thank you
Works without problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants