Monotone-Parent: f2a6e6c575e2fd5429604d257d06fef7dcb07e7e

Monotone-Revision: 1bb31b9d946a5a28ab4dc649d5ce05cc69379763

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-07T18:05:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-06-07 18:05:45 +00:00
parent 89b5996179
commit e2db4d45fe
2 changed files with 4 additions and 12 deletions

View File

@@ -258,15 +258,7 @@ static NSString *commaSeparator = nil;
- (BOOL) isAllDayDate
{
unsigned int length;
unichar lastZ;
length = [self length];
lastZ = [self characterAtIndex: length - 1];
return (length == 8
|| (length == 9
&& (lastZ == 'Z' || lastZ == 'z')));
return ([self length] == 8);
}
- (NSArray *) commaSeparatedValues

View File

@@ -109,10 +109,10 @@
tmpTime = [dateTime copy];
[tmpTime setTimeZone: utcTZ];
if (forAllDayEntity)
fmtTimeString = [tmpTime iCalFormattedDateString];
timeString = [tmpTime iCalFormattedDateString];
else
fmtTimeString = [tmpTime iCalFormattedDateTimeString];
timeString = [NSString stringWithFormat: @"%@Z", fmtTimeString];
timeString = [NSString stringWithFormat: @"%@Z",
[tmpTime iCalFormattedDateTimeString]];
[tmpTime release];
}
}