Monotone-Parent: f3c2aef97584736f86e933c6d26f36e424321aac

Monotone-Revision: 4ef540dc6e51d77f7bceceddf7ba16238cd49b1a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-30T03:10:06
This commit is contained in:
Wolfgang Sourdeau
2011-11-30 03:10:06 +00:00
parent 0e0045e310
commit 46c6595c51
2 changed files with 20 additions and 2 deletions
+6
View File
@@ -1,3 +1,9 @@
2011-11-29 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m
(-davCalendarTimeZone): fixed by embedding the VTIMEZONE element
in a VCALENDAR.
2011-11-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m
+14 -2
View File
@@ -59,6 +59,7 @@
#import <SOGo/NSDictionary+Utilities.h>
#import <SOGo/NSObject+DAV.h>
#import <SOGo/NSString+Utilities.h>
#import <SOGo/SOGoBuild.h>
#import <SOGo/SOGoCache.h>
#import <SOGo/SOGoDomainDefaults.h>
#import <SOGo/SOGoPermissions.h>
@@ -1542,11 +1543,22 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
{
SOGoUser *ownerUser;
NSString *ownerTimeZone;
iCalCalendar *tzCal;
iCalTimeZone *tz;
NSString *prodID;
ownerUser = [SOGoUser userWithLogin: [self ownerInContext: context]];
ownerTimeZone = [[ownerUser userDefaults] timeZoneName];
return [[iCalTimeZone timeZoneForName: ownerTimeZone] versitString];
tz = [iCalTimeZone timeZoneForName: ownerTimeZone];
tzCal = [iCalCalendar groupWithTag: @"vcalendar"];
[tzCal setVersion: @"2.0"];
prodID = [NSString stringWithFormat:
@"-//Inverse inc./SOGo %@//EN", SOGoVersion];
[tzCal setProdID: prodID];
[tzCal addChild: tz];
return [tzCal versitString];
}
- (NSException *) setDavCalendarTimeZone: (NSString *) newTimeZone