|
|
701b01 |
diff -up openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_property.c.libical-3.0 openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_property.c
|
|
|
701b01 |
--- openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_property.c.libical-3.0 2017-11-08 14:45:06.494302213 +0100
|
|
|
701b01 |
+++ openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_property.c 2017-11-08 14:47:33.465300181 +0100
|
|
|
701b01 |
@@ -515,7 +515,7 @@ void ical_property_EXDATE(struct exchang
|
|
|
701b01 |
icalproperty_add_parameter(prop, tzid);
|
|
|
701b01 |
} else {
|
|
|
701b01 |
/*Get time from dtstart*/
|
|
|
701b01 |
- icaltime.is_utc = 1;
|
|
|
701b01 |
+ icaltime.zone = icaltimezone_get_utc_timezone ();
|
|
|
701b01 |
if (exchange2ical->apptEndWhole){
|
|
|
701b01 |
dttime = get_icaltime_from_FILETIME_UTC(exchange2ical->apptStartWhole);
|
|
|
701b01 |
icaltime.hour = dttime.hour;
|
|
|
701b01 |
diff -up openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_utils.c.libical-3.0 openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_utils.c
|
|
|
701b01 |
--- openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_utils.c.libical-3.0 2017-11-08 14:45:43.123301706 +0100
|
|
|
701b01 |
+++ openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_utils.c 2017-11-08 14:47:31.873300203 +0100
|
|
|
701b01 |
@@ -241,10 +241,9 @@ struct icaltimetype get_icaltimetype_fro
|
|
|
701b01 |
tt.minute = tm->tm_min;
|
|
|
701b01 |
tt.second = tm->tm_sec;
|
|
|
701b01 |
|
|
|
701b01 |
- tt.is_utc = 0;
|
|
|
701b01 |
tt.is_date = 0;
|
|
|
701b01 |
tt.is_daylight = 0;
|
|
|
701b01 |
- tt.zone = 0;
|
|
|
701b01 |
+ tt.zone = icaltimezone_get_utc_timezone ();
|
|
|
701b01 |
|
|
|
701b01 |
return tt;
|
|
|
701b01 |
}
|
|
|
701b01 |
@@ -254,7 +253,6 @@ struct icaltimetype get_icaltimetype_fro
|
|
|
701b01 |
struct icaltimetype tt;
|
|
|
701b01 |
|
|
|
701b01 |
tt = get_icaltimetype_from_tm(tm);
|
|
|
701b01 |
- tt.is_utc = 1;
|
|
|
701b01 |
|
|
|
701b01 |
return tt;
|
|
|
701b01 |
}
|
|
|
701b01 |
@@ -270,10 +268,8 @@ struct icaltimetype get_icaldate_from_tm
|
|
|
701b01 |
tt.minute = 0;
|
|
|
701b01 |
tt.second = 0;
|
|
|
701b01 |
|
|
|
701b01 |
- tt.is_utc = 1;
|
|
|
701b01 |
tt.is_date = 1;
|
|
|
701b01 |
tt.is_daylight = 0;
|
|
|
701b01 |
- tt.zone = NULL;
|
|
|
701b01 |
|
|
|
701b01 |
return tt;
|
|
|
701b01 |
}
|
|
|
701b01 |
@@ -313,7 +309,6 @@ struct icaltimetype get_icaltime_from_FI
|
|
|
701b01 |
tt.minute = tm->tm_min;
|
|
|
701b01 |
tt.second = tm->tm_sec;
|
|
|
701b01 |
tt.is_date = 0;
|
|
|
701b01 |
- tt.is_utc = 0;
|
|
|
701b01 |
tt.is_daylight = 0;
|
|
|
701b01 |
tt.zone = NULL;
|
|
|
701b01 |
|
|
|
701b01 |
@@ -339,9 +334,8 @@ struct icaltimetype get_icaltime_from_FI
|
|
|
701b01 |
tt.minute = tm->tm_min;
|
|
|
701b01 |
tt.second = tm->tm_sec;
|
|
|
701b01 |
tt.is_date = 0;
|
|
|
701b01 |
- tt.is_utc = 1;
|
|
|
701b01 |
tt.is_daylight = 0;
|
|
|
701b01 |
- tt.zone = NULL;
|
|
|
701b01 |
+ tt.zone = icaltimezone_get_utc_timezone ();
|
|
|
701b01 |
|
|
|
701b01 |
return tt;
|
|
|
701b01 |
}
|
|
|
701b01 |
@@ -371,9 +365,8 @@ struct icaltimetype get_icaldate_from_FI
|
|
|
701b01 |
tt.minute = 0;
|
|
|
701b01 |
tt.second = 0;
|
|
|
701b01 |
tt.is_date = 1;
|
|
|
701b01 |
- tt.is_utc = 1;
|
|
|
701b01 |
tt.is_daylight = 0;
|
|
|
701b01 |
- tt.zone = NULL;
|
|
|
701b01 |
+ tt.zone = icaltimezone_get_utc_timezone ();
|
|
|
701b01 |
|
|
|
701b01 |
return tt;
|
|
|
701b01 |
}
|
|
|
701b01 |
@@ -390,10 +383,9 @@ struct icaltimetype get_icaldate_from_Gl
|
|
|
701b01 |
tt.minute = 0;
|
|
|
701b01 |
tt.second = 0;
|
|
|
701b01 |
|
|
|
701b01 |
- tt.is_utc = 1;
|
|
|
701b01 |
tt.is_date = 1;
|
|
|
701b01 |
tt.is_daylight = 0;
|
|
|
701b01 |
- tt.zone = NULL;
|
|
|
701b01 |
+ tt.zone = icaltimezone_get_utc_timezone ();
|
|
|
701b01 |
|
|
|
701b01 |
return tt;
|
|
|
701b01 |
}
|