event: load tzid with icaltimezone_get_builtin_timezone

This commit is contained in:
Georges Basile Stavracas Neto
2016-03-01 15:27:07 -03:00
parent 67e370034a
commit 64747e4f80
+1 -1
View File
@@ -95,7 +95,7 @@ get_timezone_from_ical (ECalComponentDateTime *comp)
gchar *tzid;
gint offset;
zone = icaltimezone_get_builtin_timezone_from_tzid (comp->tzid);
zone = icaltimezone_get_builtin_timezone (comp->tzid);
offset = icaltimezone_get_utc_offset (zone, comp->value, NULL);
tzid = format_utc_offset (offset);