|
|
3e1036 |
diff -up evolution-ews-3.8.5/src/calendar/e-cal-backend-ews.c.free-busy-timezone evolution-ews-3.8.5/src/calendar/e-cal-backend-ews.c
|
|
|
3e1036 |
--- evolution-ews-3.8.5/src/calendar/e-cal-backend-ews.c.free-busy-timezone 2013-11-19 09:08:00.901914112 +0100
|
|
|
3e1036 |
+++ evolution-ews-3.8.5/src/calendar/e-cal-backend-ews.c 2013-11-19 09:08:00.913914111 +0100
|
|
|
3e1036 |
@@ -4038,7 +4038,6 @@ typedef struct {
|
|
|
3e1036 |
GSList *users;
|
|
|
3e1036 |
time_t start;
|
|
|
3e1036 |
time_t end;
|
|
|
3e1036 |
- icaltimezone *timezone;
|
|
|
3e1036 |
} EwsFreeBusyData;
|
|
|
3e1036 |
|
|
|
3e1036 |
static void
|
|
|
3e1036 |
@@ -4048,8 +4047,9 @@ prepare_free_busy_request (ESoapMessage
|
|
|
3e1036 |
EwsFreeBusyData *free_busy_data = user_data;
|
|
|
3e1036 |
GSList *addr;
|
|
|
3e1036 |
icaltimetype t_start, t_end;
|
|
|
3e1036 |
+ icaltimezone *utc_zone = icaltimezone_get_utc_timezone ();
|
|
|
3e1036 |
|
|
|
3e1036 |
- ewscal_set_availability_timezone (msg, free_busy_data->timezone);
|
|
|
3e1036 |
+ ewscal_set_availability_timezone (msg, utc_zone);
|
|
|
3e1036 |
|
|
|
3e1036 |
e_soap_message_start_element (msg, "MailboxDataArray", "messages", NULL);
|
|
|
3e1036 |
|
|
|
3e1036 |
@@ -4071,8 +4071,8 @@ prepare_free_busy_request (ESoapMessage
|
|
|
3e1036 |
e_soap_message_start_element (msg, "FreeBusyViewOptions", NULL, NULL);
|
|
|
3e1036 |
|
|
|
3e1036 |
e_soap_message_start_element (msg, "TimeWindow", NULL, NULL);
|
|
|
3e1036 |
- t_start = icaltime_from_timet_with_zone (free_busy_data->start, 0, free_busy_data->timezone);
|
|
|
3e1036 |
- t_end = icaltime_from_timet_with_zone (free_busy_data->end, 0, free_busy_data->timezone);
|
|
|
3e1036 |
+ t_start = icaltime_from_timet_with_zone (free_busy_data->start, 0, utc_zone);
|
|
|
3e1036 |
+ t_end = icaltime_from_timet_with_zone (free_busy_data->end, 0, utc_zone);
|
|
|
3e1036 |
ewscal_set_time (msg, "StartTime", &t_start, FALSE);
|
|
|
3e1036 |
ewscal_set_time (msg, "EndTime", &t_end, FALSE);
|
|
|
3e1036 |
e_soap_message_end_element (msg); /* "TimeWindow" */
|
|
|
3e1036 |
@@ -4165,7 +4165,6 @@ e_cal_backend_ews_get_free_busy (ECalBac
|
|
|
3e1036 |
free_busy_data->users = users_copy;
|
|
|
3e1036 |
free_busy_data->start = start;
|
|
|
3e1036 |
free_busy_data->end = end;
|
|
|
3e1036 |
- free_busy_data->timezone = priv->default_zone;
|
|
|
3e1036 |
|
|
|
3e1036 |
e_ews_connection_get_free_busy (
|
|
|
3e1036 |
priv->cnc,
|