[evolution-ews] Assign a timezone to the RID icaltimetype while calculating an occurrence index
- From: Or Goshen <ogosh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Assign a timezone to the RID icaltimetype while calculating an occurrence index
- Date: Wed, 13 Jul 2011 12:03:12 +0000 (UTC)
commit 59ca112430c9d639f26bfd835d8ea9e24cc1ebb7
Author: Or Goshen <orx goshen intel com>
Date: Wed Jul 13 15:13:16 2011 +0300
Assign a timezone to the RID icaltimetype while calculating an occurrence index
src/calendar/e-cal-backend-ews.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 2e58021..914b554 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -912,7 +912,9 @@ e_cal_rid_to_index (const char *rid, icalcomponent *comp, GError **error)
icaltimetype next = icalrecur_iterator_next (ritr),
/*o_time = icaltime_from_string_with_zone (rid, dtstart.zone);*/
o_time = icaltime_from_string (rid);
-
+
+ o_time.zone = dtstart.zone;
+
for (; !icaltime_is_null_time (next); next = icalrecur_iterator_next (ritr), index++) {
if (icaltime_compare (o_time, next) == 0) break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]