[evolution-activesync/for-master/allday: 1/4] _eas2ical_process_timezone: remove attempted optimisation which broke handling London timezone (stan



commit 43c0b4902551bd8ac2c4e61676af7cadd63a3bb7
Author: Graham R. Cobb <g+syncevolution cobb uk net>
Date:   Tue Oct 28 22:36:49 2014 +0000

    _eas2ical_process_timezone: remove attempted optimisation which broke handling London timezone (standard 
time == UTC but daylight time <> UTC). Correct optimisation was already present a few lines above, and 
remains.

 eas-daemon/libeas/eas-cal-info-translator.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/eas-daemon/libeas/eas-cal-info-translator.c b/eas-daemon/libeas/eas-cal-info-translator.c
index 1e01451..85e1041 100644
--- a/eas-daemon/libeas/eas-cal-info-translator.c
+++ b/eas-daemon/libeas/eas-cal-info-translator.c
@@ -745,10 +745,6 @@ static icaltimezone* _eas2ical_process_timezone (xmlNodePtr n, icalcomponent* vt
                                g_free (*tzid);
                                *tzid = g_strdup (ICAL_DEFAULT_TZID);
                        }
-                       // if timezone id contains character UTC and Bias is 0, then don't add it to the ICAL
-                       if((g_strrstr (*tzid, "UTC") != NULL) && standardUtcOffsetMins == 0) {
-                               return NULL;
-                       }
                        prop = icalproperty_new_tzid (*tzid);
                        icalcomponent_add_property (vtimezone, prop);
 


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