[evolution] I#1905 - DUE-today color in Tasks window not always applied



commit 269ccd2c95087d52425808761615484cc7d6c925
Author: Milan Crha <mcrha redhat com>
Date:   Tue May 17 12:24:12 2022 +0200

    I#1905 - DUE-today color in Tasks window not always applied
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1905

 src/calendar/gui/e-cal-model-tasks.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/calendar/gui/e-cal-model-tasks.c b/src/calendar/gui/e-cal-model-tasks.c
index 897481d806..7ca3074742 100644
--- a/src/calendar/gui/e-cal-model-tasks.c
+++ b/src/calendar/gui/e-cal-model-tasks.c
@@ -364,6 +364,7 @@ get_due_status (ECalModelTasks *model,
 
                        now_tt = i_cal_time_new_current_with_zone (zone);
                        i_cal_time_set_timezone (now_tt, zone);
+                       i_cal_time_set_timezone (due_tt, zone);
 
                        if (i_cal_time_compare (due_tt, now_tt) <= 0)
                                res = E_CAL_MODEL_TASKS_DUE_OVERDUE;


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