[evolution] I#1717 - ECalModel: Properly show also UTC times
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#1717 - ECalModel: Properly show also UTC times
- Date: Fri, 26 Nov 2021 09:57:11 +0000 (UTC)
commit ae0df0c507e8aebc11e1d8b820a6f92c18672ebe
Author: Milan Crha <mcrha redhat com>
Date: Fri Nov 26 10:56:39 2021 +0100
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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]