mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-07 09:25:09 +00:00
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:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user