mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
Monotone-Parent: 1fc0f0efe44f0b423ba86ab0885c6e0372c62a19
Monotone-Revision: b1ea99e2992e038d5c1adfe3f755a473b8b52150 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-08T19:34:02 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -314,7 +314,7 @@
|
||||
[self addValue: newValue];
|
||||
else
|
||||
{
|
||||
if (aValue)
|
||||
if ([aValue length])
|
||||
[self setValue: index to: newValue];
|
||||
else
|
||||
[values removeObjectAtIndex: index];
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2008-02-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* CardElement.m ([CardElement
|
||||
-setNamedValue:aValueNameto:aValue]): if the value is empty, we
|
||||
removed the named value.
|
||||
|
||||
2008-01-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* iCalRecurrenceRule.m ([iCalRecurrenceRule
|
||||
|
||||
@@ -251,9 +251,16 @@
|
||||
[self setNamedValue: @"wkst" to: _weekStart];
|
||||
}
|
||||
|
||||
#warning we also should handle the user weekstarts
|
||||
- (NSString *) wkst
|
||||
{
|
||||
return [self namedValue: @"wkst"];
|
||||
NSString *start;
|
||||
|
||||
start = [self namedValue: @"wkst"];
|
||||
if (![start length])
|
||||
start = @"SU";
|
||||
|
||||
return start;
|
||||
}
|
||||
|
||||
- (void) setWeekStart: (iCalWeekDay) _weekStart
|
||||
@@ -359,7 +366,7 @@
|
||||
case 'S':
|
||||
if (chars[1] == 'A')
|
||||
foundDay = iCalWeekDaySaturday;
|
||||
else if (chars[1] == 'H')
|
||||
else if (chars[1] == 'U')
|
||||
foundDay = iCalWeekDaySunday;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user