mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-08 11:59:44 +00:00
Monotone-Parent: 02eb29bbfbe92d0cd5172a05dce7bc7c9875da19
Monotone-Revision: c031eac1b4bb520b8e0c717803ed8eb38fedd4c5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-02T21:55:55 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -88,6 +88,10 @@
|
||||
self->formatAction = @selector(shortTitleForApt::);
|
||||
}
|
||||
|
||||
- (void)setShortMonthTitleOnly {
|
||||
self->formatAction = @selector(shortMonthTitleForApt::);
|
||||
}
|
||||
|
||||
- (void)setPrivateSuppressAll {
|
||||
self->formatAction = @selector(suppressApt::);
|
||||
}
|
||||
@@ -227,6 +231,24 @@
|
||||
return title;
|
||||
}
|
||||
|
||||
- (NSString *)shortMonthTitleForApt:(id)_apt :(NSCalendarDate *)_refDate {
|
||||
NSMutableString *title;
|
||||
NSCalendarDate *startDate;
|
||||
NSTimeZone *dtz;
|
||||
|
||||
title = [NSMutableString new];
|
||||
[title autorelease];
|
||||
|
||||
dtz = [self displayTZ];
|
||||
startDate = [_apt valueForKey: @"startDate"];
|
||||
[startDate setTimeZone:dtz];
|
||||
[self appendTimeInfoForDate: startDate usingReferenceDate: nil
|
||||
toBuffer: title];
|
||||
[title appendFormat: @" %@", [self titleForApt:_apt :_refDate]];
|
||||
|
||||
return title;
|
||||
}
|
||||
|
||||
- (NSString *)singleLineFullDetailsForApt:(id)_apt :(NSCalendarDate *)_refDate {
|
||||
NSMutableString *aptDescr;
|
||||
NSString *s;
|
||||
|
||||
Reference in New Issue
Block a user