aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 795d47cf6a..792b8b2893 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -391,7 +391,8 @@ get_dtstart (ECalModel *model, ECalModelComponent *comp_data)
if (priv->zone)
icaltimezone_convert_time (&tt_start, zone, priv->zone);
} else
- tt_start = icaltime_from_timet (comp_data->instance_start, tt_start.is_date);
+ if (priv->zone)
+ tt_start = icaltime_from_timet_with_zone (comp_data->instance_start, tt_start.is_date, priv->zone);
}
if (!icaltime_is_valid_time (tt_start) || icaltime_is_null_time (tt_start))