[evolution-ews] When modifying a calendar item dtstart or dtend both original and new items need to have timezone da



commit 7821eea35a75c6cd7fa2d875b38d5c677aa5813c
Author: Or Goshen <orx goshen intel com>
Date:   Thu Aug 11 12:46:07 2011 +0300

    When modifying a calendar item dtstart or dtend both original and new items need to have timezone data

 src/calendar/e-cal-backend-ews.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 9852b79..ca0343c 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1989,6 +1989,9 @@ e_cal_backend_ews_modify_object (ECalBackend *backend, EDataCal *cal, EServerMet
 	}
 	PRIV_UNLOCK (priv);
 
+	cbd.comp = e_cal_component_get_icalcomponent (oldcomp);
+	icalcomponent_foreach_tzid(cbd.comp, tzid_cb, &cbd);
+	
 	/*In case we have updated attachments we have to run update attachments
 	 *before update items so attendees will receive mails with already updated attachments */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]