mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-31 11:02:44 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user