Monotone-Parent: b54a4a89914eab992aa8dfa993817ad238c63a44
Monotone-Revision: 5348ab1ab933a8576fbc1f77ec5f02aab187101c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-08T16:19:55 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
38c346083a
commit
e859ba4123
|
@ -1,5 +1,9 @@
|
|||
2010-10-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* iCalEvent.m (-setAllDayWithStartDate:duration:): added a
|
||||
work-around for bug 866, by adding one hour in addition to the
|
||||
offset in days from the start date.
|
||||
|
||||
* NSString+NGCards.m (-unescapedFromCard): removed obsolete
|
||||
method.
|
||||
(-componentsWithSafeSeparator:): renamed to
|
||||
|
|
|
@ -57,7 +57,9 @@
|
|||
|
||||
[(iCalDateTime *) [self uniqueChildWithTag: @"dtstart"]
|
||||
setDate: newStartDate];
|
||||
endDate = [newStartDate dateByAddingYears: 0 months: 0 days: days];
|
||||
// HACK: we add 1 hour to avoid losing a day on time shift dates
|
||||
endDate = [newStartDate dateByAddingYears: 0 months: 0 days: days
|
||||
hours: 1 minutes: 0 seconds: 0];
|
||||
[endDate setTimeZone: [newStartDate timeZone]];
|
||||
[(iCalDateTime *) [self uniqueChildWithTag: @"dtend"]
|
||||
setDate: endDate];
|
||||
|
|
Loading…
Reference in New Issue