From ae0df0c507e8aebc11e1d8b820a6f92c18672ebe Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 26 Nov 2021 10:56:39 +0100 Subject: [PATCH] I#1717 - ECalModel: Properly show also UTC times Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1717 --- src/calendar/gui/e-cal-model.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/calendar/gui/e-cal-model.c b/src/calendar/gui/e-cal-model.c index 21b898004e..c4b79d3a5e 100644 --- a/src/calendar/gui/e-cal-model.c +++ b/src/calendar/gui/e-cal-model.c @@ -4385,6 +4385,9 @@ e_cal_model_util_get_datetime_value (ECalModel *model, if (!tzid || !*tzid || !e_cal_client_get_timezone_sync (comp_data->client, tzid, &zone, NULL, NULL)) zone = NULL; + + if (!zone && i_cal_time_is_utc (tt)) + zone = i_cal_timezone_get_utc_timezone (); } if (e_cal_data_model_get_expand_recurrences (model->priv->data_model)) {