mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-20 14:36:53 +00:00
Monotone-Parent: 2ad903f7aa0d1a5fd9efc71f4c23eefee39e1bdf
Monotone-Revision: e404fadd242dd97dee5d8251bc152f66222835ba Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-24T19:18:40 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
50abc82da1
commit
88bd49b5a8
2 files changed
+6
-13
No files matched your search
@@ -96,8 +96,9 @@
|
||||
aptDateRanges = [[self appointments] valueForKey: @"startDate"];
|
||||
if([aptDateRanges count] != 0) {
|
||||
NSCalendarDate *d;
|
||||
|
||||
aptDateRanges = [aptDateRanges sortedArrayUsingSelector:@selector(compareAscending:)];
|
||||
|
||||
aptDateRanges
|
||||
= [aptDateRanges sortedArrayUsingSelector: @selector(compareAscending:)];
|
||||
d = [aptDateRanges objectAtIndex:0];
|
||||
if ([d isDateOnSameDay:min])
|
||||
min = (NSCalendarDate *)[d earlierDate:min];
|
||||
@@ -127,7 +128,6 @@
|
||||
return [dates autorelease];
|
||||
}
|
||||
|
||||
|
||||
/* URLs */
|
||||
|
||||
- (NSDictionary *) dayBeforePrevDayQueryParameters
|
||||
@@ -259,16 +259,6 @@
|
||||
return [[self aptsForCurrentDate] count] != 0;
|
||||
}
|
||||
|
||||
- (NSString *) labelForDay
|
||||
{
|
||||
SOGoDateFormatter *fmt;
|
||||
|
||||
fmt = [[SOGoDateFormatter alloc] initWithLocale: [self locale]];
|
||||
[fmt autorelease];
|
||||
|
||||
return [fmt stringForObjectValue: [self startDate]];
|
||||
}
|
||||
|
||||
- (NSString *) _dayNameWithOffsetFromToday: (int) offset
|
||||
{
|
||||
NSCalendarDate *date;
|
||||
|
||||
Reference in new issue
Block a user