Baikal
Baikal copied to clipboard
Processing of multiple TZID in VCALENDAR
Baikal version: 0.8.0
Expected behaviour: Use the first Timezone or last not sure but use one
Current behaviour: Is not processed at all and errors
Steps to reproduce: Using an ICS that has multiple time zones I am trying to sync an online calendar using vdirsyncer to my Baikal instance. It works perfectly for others but not this particular one. I ran vdirsyncer -vdebug and looked back through the logs and found this:
<?xml version="1.0" encoding="utf-8"?> debug: <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> debug: <s:sabredav-version>4.1.4</s:sabredav-version> debug: <s:exception>Sabre\DAV\Exception\UnsupportedMediaType</s:exception> debug: <s:message>Validation error in iCalendar: TZID MUST appear exactly once in a VTIMEZONE component</s:message> debug: </d:error> error: Unknown error occured for <omitted>: 415 Client Error: Unsupported Media Type for url:<omited>.ics
This is what the ics file starts with (minus the stuff that identifies it)
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//<omited> - ECPv5.6.0//NONSGML v1.0//EN CALSCALE:GREGORIAN METHOD:PUBLISH X-WR-CALNAME:<omited> X-ORIGINAL-URL:<omited> X-WR-CALDESC:<omited> BEGIN:VTIMEZONE TZID:Australia/Sydney BEGIN:STANDARD TZOFFSETFROM:+1100 TZOFFSETTO:+1000 TZNAME:AEST DTSTART:20210403T160000 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:+1000 TZOFFSETTO:+1100 TZNAME:AEDT DTSTART:20211002T160000 END:DAYLIGHT TZID:UTC BEGIN:STANDARD TZOFFSETFROM:+0000 TZOFFSETTO:+0000 TZNAME:UTC DTSTART:20210101T000000 END:STANDARD END:VTIMEZONE BEGIN:VEVENT
Is there any way I can import these or do I have to ask the provider to set it to one or the other
Don't worry, the provider changed their endpoint and removed the UTC TZ