[evolution-ews] I#117 - Task completion date shifted by user's zone UTC offset



commit 7d9b5823fd1ef5a6bbabd7a4d70e6dc9bbbcc8e5
Author: Milan Crha <mcrha redhat com>
Date:   Wed Aug 26 16:20:05 2020 +0200

    I#117 - Task completion date shifted by user's zone UTC offset
    
    Closes https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/117

 src/EWS/calendar/e-cal-backend-ews.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/EWS/calendar/e-cal-backend-ews.c b/src/EWS/calendar/e-cal-backend-ews.c
index dd7fb647..4bfb2c95 100644
--- a/src/EWS/calendar/e-cal-backend-ews.c
+++ b/src/EWS/calendar/e-cal-backend-ews.c
@@ -547,7 +547,7 @@ ecb_ews_item_to_component_sync (ECalBackendEws *cbews,
                        has_this_date = FALSE;
                        e_ews_item_task_has_complete_date (item, &has_this_date);
                        if (has_this_date) {
-                               itt = i_cal_time_new_from_timet_with_zone (e_ews_item_get_complete_date 
(item), 0, user_timezone);
+                               itt = i_cal_time_new_from_timet_with_zone (e_ews_item_get_complete_date 
(item), 0, utc_zone);
                                prop = i_cal_property_new_completed (itt);
                                i_cal_component_take_property (icomp, prop);
                                g_clear_object (&itt);


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