[evolution] I#1821 - EToDoPane: Incorrect time shown in the tooltip for UTC times



commit 7a29a79831a5a46ecd9df40b94f98c5d2f018949
Author: Milan Crha <mcrha redhat com>
Date:   Mon Feb 28 14:08:44 2022 +0100

    I#1821 - EToDoPane: Incorrect time shown in the tooltip for UTC times
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1821

 src/calendar/gui/e-to-do-pane.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/calendar/gui/e-to-do-pane.c b/src/calendar/gui/e-to-do-pane.c
index 460dfdd55b..852668e417 100644
--- a/src/calendar/gui/e-to-do-pane.c
+++ b/src/calendar/gui/e-to-do-pane.c
@@ -198,8 +198,10 @@ etdp_itt_to_zone (ICalTime *itt,
                zone = i_cal_timezone_get_utc_timezone ();
        }
 
-       if (zone)
+       if (zone) {
                i_cal_time_convert_timezone (itt, zone, default_zone);
+               i_cal_time_set_timezone (itt, default_zone);
+       }
 }
 
 static gchar *


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