]> code.citadel.org Git - citadel.git/blobdiff - webcit/event.c
* Decapsulate and dezonify calendar events as they are
[citadel.git] / webcit / event.c
index f1af019dbb6afff84365517749c185359720bab4..37e2e2627a688b8df297cf98c4ee916ade5f1285 100644 (file)
@@ -71,6 +71,10 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
 
        if (supplied_vevent != NULL) {
                vevent = supplied_vevent;
+
+               /* Convert all timestamps to UTC to make them easier to process. */
+               ical_dezonify(vevent);
+
                /*
                 * If we're looking at a fully encapsulated VCALENDAR
                 * rather than a VEVENT component, attempt to use the first