[fix] Timezone of MS Exchange freebusy information

pull/77/head
Francis Lachapelle 2015-04-02 11:53:03 -04:00
parent e2c3259b16
commit 01857a9a47
2 changed files with 20 additions and 3 deletions

3
NEWS
View File

@ -9,7 +9,8 @@ Bug fixes
- now keep the BodyPreference for future EAS use and default to MIME if none set (#3146)
- EAS reply fix when message/rfc822 parts are included in the original mail (#3153)
- fixed yet an other potential crash during freebusy lookups during timezone changes
- fix display of freebusy information in event attendees editor during timezone changes
- fixed display of freebusy information in event attendees editor during timezone changes
- fixed timezone of MSExchange freebusy information
- fixed a potential EAS error with multiple email priority flags
2.2.17a (2015-03-15)

View File

@ -70,11 +70,27 @@
to: (NSCalendarDate *) newEndDate
{
ASSIGN(address, newAddress);
ASSIGN(startDate, newStartDate);
ASSIGN(endDate, newEndDate);
startDate = [NSCalendarDate dateWithYear: [newStartDate yearOfCommonEra]
month: [newStartDate monthOfYear]
day: [newStartDate dayOfMonth]
hour: [newStartDate hourOfDay]
minute: [newStartDate minuteOfHour]
second: [newStartDate secondOfMinute]
timeZone: [newStartDate timeZone]];
endDate = [NSCalendarDate dateWithYear: [newEndDate yearOfCommonEra]
month: [newEndDate monthOfYear]
day: [newEndDate dayOfMonth]
hour: [newEndDate hourOfDay]
minute: [newEndDate minuteOfHour]
second: [newEndDate secondOfMinute]
timeZone: [newEndDate timeZone]];
[startDate setTimeZone: timeZone];
[endDate setTimeZone: timeZone];
[startDate retain];
[endDate retain];
}
- (NSString *) serverVersion