mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 23:07:12 +00:00
See ChangeLogs
Monotone-Parent: 5c6353cb6270d51a457d46a8fe98dadae4f37193 Monotone-Revision: c0509d9d92c69255be6d27969b4f578739e78c7f Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-07-08T00:22:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
34f2904f0d
commit
a40357f9c4
8 files changed
+99
-34
No files matched your search
@@ -91,11 +91,6 @@
|
||||
iCalEvent *newOccurence, *master;
|
||||
NSCalendarDate *date, *firstDate;
|
||||
unsigned int interval, nbrDays;
|
||||
SOGoUserDefaults *ud;
|
||||
NSTimeZone *timeZone;
|
||||
|
||||
ud = [[SOGoUser userWithLogin: owner] userDefaults];
|
||||
timeZone = [ud timeZone];
|
||||
|
||||
newOccurence = (iCalEvent *) [super newOccurenceWithID: theRecurrenceID];
|
||||
date = [newOccurence recurrenceId];
|
||||
@@ -109,7 +104,7 @@
|
||||
{
|
||||
nbrDays = ((float) abs (interval) / 86400) + 1;
|
||||
[newOccurence setAllDayWithStartDate: date
|
||||
duration: nbrDays];
|
||||
duration: nbrDays];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -121,7 +116,7 @@
|
||||
minute: 0
|
||||
second: interval]];
|
||||
}
|
||||
|
||||
|
||||
return newOccurence;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user