[evolution-patches] patch for bug #317226
- From: Jedy Wang <Jedy Wang Sun COM>
- To: patches <evolution-patches gnome org>
- Cc: Harry Lu Sun COM
- Subject: [evolution-patches] patch for bug #317226
- Date: Mon, 26 Sep 2005 19:24:44 +0800
Hi,
This is the patch for bug #317226.
http://bugzilla.gnome.org/show_bug.cgi?id=317226
Regards,
Jedy
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.513
diff -u -r1.513 ChangeLog
--- ChangeLog 19 Sep 2005 07:22:19 -0000 1.513
+++ ChangeLog 26 Sep 2005 11:01:36 -0000
@@ -1,3 +1,11 @@
+2005-09-26 Wang Xin <jedy wang sun com>
+
+ Fixes #317226
+
+ * libecal/e-cal.c: (generate_instances): For all day events,
+ set the timezone of start time and end time to default zone,
+ in case that it is NULL.
+
2005-09-12 Chenthill Palanisamy <pchenthill novell com>
Fixes #116162
Index: libecal/e-cal.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/libecal/e-cal.c,v
retrieving revision 1.113
diff -u -r1.113 e-cal.c
--- libecal/e-cal.c 31 Aug 2005 04:21:54 -0000 1.113
+++ libecal/e-cal.c 26 Sep 2005 11:01:45 -0000
@@ -3614,6 +3614,11 @@
start_time = icalcomponent_get_dtstart (e_cal_component_get_icalcomponent (comp));
end_time = icalcomponent_get_dtend (e_cal_component_get_icalcomponent (comp));
+ if (icaltime_is_date (start_time))
+ start_time.zone = default_zone;
+ if (icaltime_is_date (end_time))
+ end_time.zone = default_zone
+
ci->start = icaltime_as_timet_with_zone (start_time, start_time.zone);
ci->end = icaltime_as_timet_with_zone (end_time, end_time.zone);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]