+ /* Insert a VTIMEZONE subcomponent telling the dumbass calendar agent
+ * at the other end about UTC. This is necessary because some calendar
+ * agents assume that an unqualified time is UTC while others assume
+ * it is local.
+ */
+ utc_timezone = icaltimezone_get_utc_timezone();
+ if (utc_timezone == NULL) {
+ lprintf(9, "%s:%d: utc_timezone is null\n",__FILE__,__LINE__);
+ }
+ else {
+ utc_component = icaltimezone_get_component(utc_timezone);
+ }
+ if (utc_component == NULL) {
+ lprintf(9, "%s:%d: utc_component is null\n",__FILE__,__LINE__);
+ }
+ else {
+ icalcomponent_add_component(encaps, utc_component);
+ }
+
+ /* Now make sure all of the DTSTART and DTEND properties are
+ * labelled as UTC. (FIXME do this)
+ */
+ ical_dezonify(the_request);