Monotone-Parent: 670a32bddc7117ef60e339622258d8cc0c3189ec

Monotone-Revision: b81c5b1570ede0294a166ba113ea0402585963ef

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-01-06T19:15:32
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-01-06 19:15:32 +00:00
parent 62af6abdf9
commit a24233c376
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-01-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* iCalDateTime.m (-setTimeZone:): don't modify the date in case of
an all-day value, otherwise the resulting date will be recomputed.
2009-10-19 Francis Lachapelle <flachapelle@inverse.ca>
* iCalDateTime.m (-setTimeZone:): don't add the time in case of an

View File

@ -73,9 +73,7 @@
[self setValue: 0 ofAttribute: @"tzid" to: newTZId];
if ([self isAllDay])
[self setDate: dateTime];
else
if (![self isAllDay])
[self setDateTime: dateTime];
}