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:
Francis Lachapelle
2008-12-23 00:12:14 +00:00
parent b47c7216fd
commit 07e108baf5
4 changed files with 23 additions and 8 deletions
+8 -2
View File
@@ -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;
}