Monotone-Parent: 99570bf725fd292c2ff9a2ea2c4f282a07a111b6

Monotone-Revision: f4a66d9b69688e6c9d84952a098de31d07b26280

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-08-30T23:09:35
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2006-08-30 23:09:35 +00:00
parent 2b81c3fd04
commit 91591c9bce
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,10 @@
2006-08-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentObject.m
([SOGoAppointmentObject -changeParticipationStatus:inContext:]):
set default timezone to EST, although this code should be
rewritten to handle a system and a user default value.
* UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
-takeValuesFromRequest:_rqinContext:_ctx]): enhanced method to
take the values from the hour and minute INPUTs when data is

View File

@ -59,7 +59,7 @@
static id<NSObject,SaxXMLReader> parser = nil;
static SaxObjectDecoder *sax = nil;
static NGLogger *logger = nil;
static NSTimeZone *MET = nil;
static NSTimeZone *EST = nil;
static NSString *mailTemplateDefaultLanguage = nil;
+ (void)initialize {
@ -86,7 +86,7 @@ static NSString *mailTemplateDefaultLanguage = nil;
[parser setContentHandler:sax];
[parser setErrorHandler:sax];
MET = [[NSTimeZone timeZoneWithAbbreviation:@"MET"] retain];
EST = [[NSTimeZone timeZoneWithAbbreviation:@"EST"] retain];
ud = [NSUserDefaults standardUserDefaults];
mailTemplateDefaultLanguage = [[ud stringForKey:@"SOGoDefaultLanguage"]
@ -578,7 +578,7 @@ static NSString *mailTemplateDefaultLanguage = nil;
/* 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 MET;
return EST;
}