aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-09-30 21:49:21 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-09-30 21:49:21 +0800
commitec205d090664b06396c723ce41e474d72f8e4b61 (patch)
treec4193990cc8d06dd043fa9ec07194a5e25312ffc /calendar/gui/e-cal-model.c
parent088e14f6e74dcae2ea14ed11e4a8a4c09e29b260 (diff)
downloadgsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.tar.gz
gsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.tar.zst
gsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.zip
Fixes #274188.
svn path=/trunk/; revision=30446
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))