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



commit 62ade57a516cdd8dbc9a57608c85a7ae290cca95
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 35577132c3..7066806322 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]