Monotone-Parent: 659def76b8868bdc540986987d61b39410737054

Monotone-Revision: 6eed7e248c203a0103250e46033fc47b929ee536

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-02-03T16:12:22
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-02-03 16:12:22 +00:00
parent f3e23ff651
commit bb2373ebe6
12 changed files with 176 additions and 108 deletions
+4 -3
View File
@@ -50,8 +50,7 @@
#import "SOGoUserManager.h"
#import "SOGoUserProfile.h"
#import "SOGoUserSettings.h"
#import "../../Main/SOGo.h"
#import "WOResourceManager+SOGo.h"
#import "SOGoUser.h"
@@ -283,12 +282,14 @@
NSString *format;
SOGoUserDefaults *ud;
NSDictionary *locale;
WOResourceManager *resMgr;
dateFormatter = [SOGoDateFormatter new];
[dateFormatter autorelease];
ud = [self userDefaults];
locale = [[WOApplication application] localeForLanguageNamed: [ud language]];
resMgr = [[WOApplication application] resourceManager];
locale = [resMgr localeForLanguageNamed: [ud language]];
[dateFormatter setLocale: locale];
format = [ud shortDateFormat];
if (format)