component, all TZID's referenced in timestamps are now also
encapsulated into the VCALENDAR component, making the component
fully portable across time zones. The sun is shining, birds are
chirping, free ice cream is being distributed on streetcorners, and
things are just generally good all around. For now.
}
icalproperty_set_parameter(p,
- icalparameter_new_tzid(icaltimezone_get_location((icaltimezone *)z))
+ icalparameter_new_tzid(icaltimezone_get_tzid((icaltimezone *)z))
);
}
}
/* Attach any timezones we need */
if (num_zones_attached > 0) for (i=0; i<num_zones_attached; ++i) {
icalcomponent *zc;
- zc = icalcomponent_new_vtimezone();
- /* FIXME actually put something in here!!!! */
+ zc = icalcomponent_new_clone(icaltimezone_get_component((icaltimezone *)attached_zones[i]));
icalcomponent_add_component(encaps, zc);
}