Monotone-Parent: 99570bf725fd292c2ff9a2ea2c4f282a07a111b6
Monotone-Revision: f4a66d9b69688e6c9d84952a098de31d07b26280 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-30T23:09:35 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
2b81c3fd04
commit
91591c9bce
|
@ -1,5 +1,10 @@
|
||||||
2006-08-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
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
|
* UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
|
||||||
-takeValuesFromRequest:_rqinContext:_ctx]): enhanced method to
|
-takeValuesFromRequest:_rqinContext:_ctx]): enhanced method to
|
||||||
take the values from the hour and minute INPUTs when data is
|
take the values from the hour and minute INPUTs when data is
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
static id<NSObject,SaxXMLReader> parser = nil;
|
static id<NSObject,SaxXMLReader> parser = nil;
|
||||||
static SaxObjectDecoder *sax = nil;
|
static SaxObjectDecoder *sax = nil;
|
||||||
static NGLogger *logger = nil;
|
static NGLogger *logger = nil;
|
||||||
static NSTimeZone *MET = nil;
|
static NSTimeZone *EST = nil;
|
||||||
static NSString *mailTemplateDefaultLanguage = nil;
|
static NSString *mailTemplateDefaultLanguage = nil;
|
||||||
|
|
||||||
+ (void)initialize {
|
+ (void)initialize {
|
||||||
|
@ -86,7 +86,7 @@ static NSString *mailTemplateDefaultLanguage = nil;
|
||||||
[parser setContentHandler:sax];
|
[parser setContentHandler:sax];
|
||||||
[parser setErrorHandler:sax];
|
[parser setErrorHandler:sax];
|
||||||
|
|
||||||
MET = [[NSTimeZone timeZoneWithAbbreviation:@"MET"] retain];
|
EST = [[NSTimeZone timeZoneWithAbbreviation:@"EST"] retain];
|
||||||
|
|
||||||
ud = [NSUserDefaults standardUserDefaults];
|
ud = [NSUserDefaults standardUserDefaults];
|
||||||
mailTemplateDefaultLanguage = [[ud stringForKey:@"SOGoDefaultLanguage"]
|
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
|
/* 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
|
* fall back to default timeZone if config data is not available
|
||||||
*/
|
*/
|
||||||
return MET;
|
return EST;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue