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:
Wolfgang Sourdeau
2008-02-08 19:34:02 +00:00
parent 9bc848ce7b
commit b36ee1f3a1
3 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -314,7 +314,7 @@
[self addValue: newValue];
else
{
if (aValue)
if ([aValue length])
[self setValue: index to: newValue];
else
[values removeObjectAtIndex: index];
+6
View File
@@ -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
+9 -2
View File
@@ -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;
}
}