mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-01 14:54:18 +00:00
Monotone-Parent: 2338a6c35427b6ff10e22c3431c2efc72aea29d2
Monotone-Revision: b16d3e768a1190817b3b58f91b78ac06b1d30248 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-02-12T23:24:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -214,6 +214,17 @@
|
||||
return currentTableDay;
|
||||
}
|
||||
|
||||
- (NSString *) currentDayId
|
||||
{
|
||||
return [NSString stringWithFormat: @"day%@", [currentTableDay shortDateString]];
|
||||
}
|
||||
|
||||
- (int) currentDayNumber
|
||||
{
|
||||
return ([currentWeek indexOfObject: currentTableDay]
|
||||
+ [weeksToDisplay indexOfObject: currentWeek] * 7);
|
||||
}
|
||||
|
||||
- (void) setCurrentWeek: (NSArray *) newCurrentWeek
|
||||
{
|
||||
ASSIGN (currentWeek, newCurrentWeek);
|
||||
@@ -298,8 +309,6 @@
|
||||
[classes appendString: @" dayOfAnotherMonth"];
|
||||
if ([currentTableDay isToday])
|
||||
[classes appendString: @" dayOfToday"];
|
||||
if ([selectedDate isDateOnSameDay: currentTableDay])
|
||||
[classes appendString: @" selectedDay"];
|
||||
|
||||
return classes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user