Commit 62ade57a authored by Milan Crha's avatar Milan Crha

I#1034 - Calendar: Event non-libical time zone reset to UTC on edit

Closes #1034
parent f9efab89
......@@ -1110,7 +1110,7 @@ e_comp_editor_property_part_datetime_get_value (ECompEditorPropertyPartDatetime
/* It's required to have set the built-in UTC zone, not its copy,
thus libical knows that it's a UTC time, not a time with UTC TZID. */
if (zone && g_strcmp0 (i_cal_timezone_get_location (utc_zone), i_cal_timezone_get_location (zone)) == 0)
if (zone && g_strcmp0 (i_cal_timezone_get_tzid (utc_zone), i_cal_timezone_get_tzid (zone)) == 0)
zone = utc_zone;
i_cal_time_set_timezone (value, zone);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment