diff --git a/src/calendar/gui/e-comp-editor-property-part.c b/src/calendar/gui/e-comp-editor-property-part.c index 35577132c35e6ef0dad003433251a08615690e3b..70668063224cf761ea79f12f9fcfb2efd986582e 100644 --- a/src/calendar/gui/e-comp-editor-property-part.c +++ b/src/calendar/gui/e-comp-editor-property-part.c @@ -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);