[evolution/gnome-3-36] I#1034 - Calendar: Event non-libical time zone reset to UTC on edit
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-36] I#1034 - Calendar: Event non-libical time zone reset to UTC on edit
- Date: Tue, 21 Jul 2020 07:39:48 +0000 (UTC)
commit 20c5372beae1ed16680bb1156f9c34fc79b7867f
Author: Milan Crha <mcrha redhat com>
Date: Tue Jul 21 09:35:32 2020 +0200
I#1034 - Calendar: Event non-libical time zone reset to UTC on edit
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1034
src/calendar/gui/e-comp-editor-property-part.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calendar/gui/e-comp-editor-property-part.c b/src/calendar/gui/e-comp-editor-property-part.c
index 1cbef9352c..aaf6c6cd7a 100644
--- a/src/calendar/gui/e-comp-editor-property-part.c
+++ b/src/calendar/gui/e-comp-editor-property-part.c
@@ -1084,7 +1084,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]