[evolution-patches] [calendar] fix for #274188
- From: "Chakravarthi P" <pchakravarthi novell com>
- To: <evolution-patches gnome org>
- Subject: [evolution-patches] [calendar] fix for #274188
- Date: Thu, 08 Sep 2005 03:58:27 -0600
hi
a timezone issue related to
list view is fixed in the attached patch.
For an all day event the list view shows
the start date a day prior to the creation
day.
This patch fixes this defect.
regards
Index: e-cal-model.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-cal-model.c,v
retrieving revision 1.61
diff -u -p -w -r1.61 e-cal-model.c
--- e-cal-model.c 24 Aug 2005 03:07:49 -0000 1.61
+++ e-cal-model.c 30 Aug 2005 04:29:22 -0000
@@ -393,6 +393,10 @@ get_dtstart (ECalModel *model, ECalModel
} else
tt_start = icaltime_from_timet (comp_data->instance_start, tt_start.is_date);
}
+
+ /* Make sure that the proper zone is set if priv has the zone information */
+ zone = priv->zone;
+ tt_start = icaltime_from_timet_with_zone (comp_data->instance_start, tt_start.is_date, zone);
if (!icaltime_is_valid_time (tt_start) || icaltime_is_null_time (tt_start))
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]