Monotone-Parent: 3b82be87d54654cef58e4b1e223610678824ba7a

Monotone-Revision: 1d2a69e6efdbc8e2b7a0ef180ed911def1159150

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-08T15:19:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-08 15:19:03 +00:00
parent af300fc0da
commit 6d83d9a512
2 changed files with 7 additions and 5 deletions
+4
View File
@@ -1,5 +1,9 @@
2006-09-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentObject.m:
([SOGoAppointmentObject -viewTimeZoneForPerson:_person]): returns
[self serverTimeZone] instead of "EST" (which was removed).
* SoObjects/Appointments/SOGoAppointmentFolder.[hm]: removed the
"timeZone" ivar and its accessors.
@@ -59,7 +59,6 @@
static id<NSObject,SaxXMLReader> parser = nil;
static SaxObjectDecoder *sax = nil;
static NGLogger *logger = nil;
static NSTimeZone *EST = nil;
static NSString *mailTemplateDefaultLanguage = nil;
+ (void)initialize {
@@ -86,8 +85,6 @@ static NSString *mailTemplateDefaultLanguage = nil;
[parser setContentHandler:sax];
[parser setErrorHandler:sax];
EST = [[NSTimeZone timeZoneWithAbbreviation:@"EST"] retain];
ud = [NSUserDefaults standardUserDefaults];
mailTemplateDefaultLanguage = [[ud stringForKey:@"SOGoDefaultLanguage"]
retain];
@@ -574,11 +571,12 @@ static NSString *mailTemplateDefaultLanguage = nil;
return [NSString stringWithFormat:@"%@%@", baseURL, uid];
}
- (NSTimeZone *)viewTimeZoneForPerson:(iCalPerson *)_person {
- (NSTimeZone *) viewTimeZoneForPerson: (iCalPerson *) _person
{
/* TODO: get this from user config as soon as this is available and only
* fall back to default timeZone if config data is not available
*/
return EST;
return [self serverTimeZone];
}