FossifyOrg / Calendar

A simple calendar with events, customizable widgets and no ads.
https://www.fossify.org
GNU General Public License v3.0
590 stars 48 forks source link

Wrong time by importing ICS files with offset. #261

Closed juantxorena closed 1 week ago

juantxorena commented 1 week ago

The ICS files are wrongly imported, they mess up the times somehow. In google calendar they are correctly imported.

As an example, this file

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
DTSTART:20240628T093000
DTEND:20240628T100000
SUMMARY:Ihr Termin mit *****
LOCATION: ***** , 
END:VEVENT
END:VCALENDAR
BEGIN:VTIMEZONE
TZID:W. Europe Standard Time
BEGIN:STANDARD
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE

It should be 9:30, it is imported as 11:30. As I said, it works correctly in google calendar.