X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fical_dezonify.c;fp=citadel%2Fical_dezonify.c;h=776fe8634a1ff5e73d69539ba8b47d9bd8c1498e;hp=0e95bdc71318f3c9a26fe0ad9dbf0e23f168766c;hb=54c53c773c3d40a2e1ebaf4d8d2e7f694a893c74;hpb=758fac28a2d3d207014ab256f35c9e831a0a61e0 diff --git a/citadel/ical_dezonify.c b/citadel/ical_dezonify.c index 0e95bdc71..776fe8634 100644 --- a/citadel/ical_dezonify.c +++ b/citadel/ical_dezonify.c @@ -88,10 +88,22 @@ void ical_dezonify_backend(icalcomponent *cal, /* CtdlLogPrintf(9, " * ...and we handle that internally.\n"); */ } else { + /* try attached first */ t = icalcomponent_get_timezone(cal, tzid); - /* CtdlLogPrintf(9, " * ...and I %s have tzdata for that zone.\n", +/* + lprintf(9, " * ...and I %s have tzdata for that zone.\n", (t ? "DO" : "DO NOT") - ); */ + ); +*/ + /* then try built-in timezones */ + if (!t) { + t = icaltimezone_get_builtin_timezone(tzid); +/* + if (t) { + lprintf(9, " * Using system tzdata!\n"); + } +*/ + } } }