See ChangeLog

Monotone-Parent: 2be823800b3a3aa4e40219b1fbfa546bd5cc1db3
Monotone-Revision: 89320b31db49181dce46dc16f17984d806609750

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-08-11T16:23:47
maint-2.0.2
Ludovic Marcotte 2010-08-11 16:23:47 +00:00
parent cae4fb16bd
commit 15526db831
2 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,9 @@
code will always succeed and the new code reuses code will always succeed and the new code reuses
all the business logic used for the Web interface all the business logic used for the Web interface
of SOGo. of SOGo.
* SOPE/NGCards/iCalRecurrenceRule.m
Modified setInterval: so that when the value is
equal to 1, we do NOT set it.
2010-08-03 Ludovic Marcotte <lmarcotte@inverse.ca> 2010-08-03 Ludovic Marcotte <lmarcotte@inverse.ca>

View File

@ -383,7 +383,10 @@ NSString *iCalWeekDayString[] = { @"SU", @"MO", @"TU", @"WE", @"TH", @"FR",
- (void) setInterval: (NSString *) _interval - (void) setInterval: (NSString *) _interval
{ {
[self setNamedValue: @"interval" to: _interval]; if (_interval && [_interval intValue] == 1)
[self setNamedValue: @"interval" to: nil];
else
[self setNamedValue: @"interval" to: _interval];
} }
- (void) setCount: (NSString *) _count - (void) setCount: (NSString *) _count