aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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
parent088e14f6e74dcae2ea14ed11e4a8a4c09e29b260 (diff)
downloadgsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.tar
gsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.tar.gz
gsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.tar.bz2
gsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.tar.lz
gsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.tar.xz
gsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.tar.zst
gsoc2013-evolution-ec205d090664b06396c723ce41e474d72f8e4b61.zip
Fixes #274188.
svn path=/trunk/; revision=30446
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-cal-model.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 3ac6f9bf2a..bb4f2a07cc 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-10 P. S. Chakravarthi <pchakravarthi@novell.com>
+
+ Fix #274188
+ * gui/e-cal-model.c
+ (get_dtstart): make use of internal zone information so that
+ previous date is not shown in list view for an all-day event.
+
2005-09-30 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #273847
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))