Monotone-Parent: 86254bf9ee207ad3d107e4b91fbc6cb00de4fb98

Monotone-Revision: 2e091eebec7082ccae481171b67c0091e367dcb1

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-08-18T22:56:47
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-08-18 22:56:47 +00:00
parent 971063dbc8
commit 2acc3ed007
5 changed files with 220 additions and 113 deletions
+9 -2
View File
@@ -289,14 +289,21 @@
NSString *s;
aptDescr = [NSMutableString stringWithCapacity:60];
[aptDescr appendString: @"Date: "];
[self appendTimeInfoFromApt:_apt
usingReferenceDate:_refDate
toBuffer:aptDescr];
if ((s = [self titleForApt:_apt :_refDate]) != nil)
[aptDescr appendFormat:@"\n%@", s];
[aptDescr appendFormat: @"\n%@%@",
@"Title: ",
s];
if ((s = [_apt valueForKey:@"location"]) != nil)
[aptDescr appendFormat:@"\n%@%@",
@"Location: ",
s];
if ((s = [_apt valueForKey:@"description"]) != nil)
[aptDescr appendFormat:@"\n%@", s];
return aptDescr;
}