+ /* syslog(LOG_DEBUG, " * Stringy supplied timezone is: '%s'\n", tzid); */
+ if ( (!strcasecmp(tzid, "UTC")) || (!strcasecmp(tzid, "GMT")) ) {
+ utc_declared_as_tzid = 1;
+ /* syslog(LOG_DEBUG, " * ...and we handle that internally.\n"); */
+ }
+ else {
+ /* try attached first */
+ t = icalcomponent_get_timezone(cal, tzid);
+/*
+ syslog(LOG_DEBUG, " * ...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) {
+ syslog(LOG_DEBUG, " * Using system tzdata!\n");
+ }
+*/
+ }
+ }