[evolution-ews] When parsing the timezone while performing GetItem operation, convert to a timezone instead of just
- From: Or Goshen <ogosh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] When parsing the timezone while performing GetItem operation, convert to a timezone instead of just
- Date: Tue, 19 Jul 2011 06:50:42 +0000 (UTC)
commit 2b8e9b6eccf7c446fbe0ca55370c29b28e833405
Author: Or Goshen <orx goshen intel com>
Date: Mon Jul 18 17:37:06 2011 +0300
When parsing the timezone while performing GetItem operation, convert to a timezone instead of just setting it
src/calendar/e-cal-backend-ews.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index b1b5743..f0380bc 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -2627,11 +2627,11 @@ add_item_to_cache (ECalBackendEws *cbews, EEwsItem *item, gchar *uid)
icalcomponent_add_component (vcomp, icalcomponent_new_clone (icaltimezone_get_component (zone)));
dt = icalcomponent_get_dtstart (icalcomp);
- dt = icaltime_set_timezone (&dt, zone);
+ dt = icaltime_convert_to_zone (dt, zone);
icalcomponent_set_dtstart (icalcomp, dt);
dt = icalcomponent_get_dtend (icalcomp);
- dt = icaltime_set_timezone (&dt, zone);
+ dt = icaltime_convert_to_zone (dt, zone);
icalcomponent_set_dtend (icalcomp, dt);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]