mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 19:05:25 +00:00
Fix for bug #3097
Monotone-Parent: 30278078dfd012e96e074c87b01c0c3a5fab2bbc Monotone-Revision: 4aebe8e414a3fcd8c8f09db947a8221f926ab5cd Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-12-23T00:12:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -44,17 +44,23 @@
|
||||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
NSDictionary *locale;
|
||||
NSString *language;
|
||||
|
||||
language = [[context activeUser] language];
|
||||
locale = [[WOApplication application] localeForLanguageNamed: language];
|
||||
|
||||
daysToDisplay = nil;
|
||||
hoursToDisplay = nil;
|
||||
numberOfDays = 1;
|
||||
startDate = nil;
|
||||
currentTableDay = nil;
|
||||
currentTableHour = nil;
|
||||
weekDays = [[context valueForKey: @"locale"] objectForKey: NSShortWeekDayNameArray];
|
||||
weekDays = [locale objectForKey: NSShortWeekDayNameArray];
|
||||
[weekDays retain];
|
||||
dateFormatter = [[context activeUser] dateFormatterInContext: context];
|
||||
}
|
||||
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user