mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-03 17:39:45 +00:00
Monotone-Parent: f3c2aef97584736f86e933c6d26f36e424321aac
Monotone-Revision: 4ef540dc6e51d77f7bceceddf7ba16238cd49b1a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-11-30T03:10:06
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user