Appointment displays wrong date if TZID property consists of only simple string
Hello, in case the iCalendar object contains a VTIMEZONE object with a simple TZID such as TZID:TZID and DTSTART links to that TZID the VTIMEZONE is ignored and appointment is displayed as a UTC event. If the TZID format uses "Country/City" format then it works properly. The RFC https://tools.ietf.org/html/rfc5545 does not define a mandatory format of "Country/City" and other major apps support this type of TZID value properly.
I am attaching the files to prove this behavior.
- This behavior is wrong. Contains the TZID:TZID and a screenshot (in the same TZ) showing the event is off
- This is correct. The iCalendar is almost the same except that TZID:Europe/Prague and it works properly 2_XxxAaa-5e174e6b88d1.ics
Steps to reproduce:
- Set system TZ to Europe/Prague
- Import both .ics files (we use caldav for this)
- Although they have the same VTIMEZONE definition and use it both events have a different hour displayed.
Should you need more information just let me know Thank you