Open olafthiele opened 3 years ago
Good catch, PR?
Will do, have to check. Looks like it doesn't catch the right start time in that case.
Problematic ICS that leads to the error for future reference (stems from zoom):
{ UID: 'e0318e97-df91-4392-97d4-9d97e1ee7319', URL: 'httpsngels-and-starts-ups-tickets-127629403983', DTSTART: '20201127T100000Z', DTEND: '20201127T130000Z', SUMMARY: 'Workshop', LOCATION: '', DTSTAMP: '20201121T195322Z', DESCRIPTION: '\n httpsead.zoom.us/w/939196', SEQUENCE: '1', 'LAST-MODIFIED': '20201121T195322Z' }
Problem with line above: Start times is always current time and not the given start time.
Solved by #4
If DSTART contains just the time without timezone as zoom does, the error below is thrown. Line 157 should be changed to:
evt.allDay = (parsed[
DTSTART;TZID=${self.timezone}
] || parsed[DTSTART;VALUE=DATE
] || parsed[DTSTART
]).length === 8;