Handle timezones correctly in vCalendar.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 4 Feb 2017 16:33:07 +0000 (17:33 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 4 Feb 2017 16:33:07 +0000 (17:33 +0100)
commit38131c96c146e1693fe7c4b90b4ca88d125c7a11
tree2a39577e522c5c7dcc6cdaf10e0e66d9b27dc678
parent9200a687438aaaf0b18b448c6173c2fa0fd1b67b
Handle timezones correctly in vCalendar.

We convert DTSTART and DTEND to UTC as soon as possible,
using the VTIMEZONE info. The convert_to_utc() function
should be able to handle several timezone definitions and
events using those several different timezones in one ical
file, picking the correct one for converting each event.
src/plugins/vcalendar/vcal_folder.c