Hi
I don't really know if I'm at the right address. If it's not, please
send this email forward to the maintainer of ical2sqlite!!
Reoccurring events aren't working completely with the version 0.1
Attached you find the patch for the main.c file
I double checked the values with sqlitebrowser.
The reoccurrencies are perfectly working on my iPhone now!
--- ical2sqlite/src/main.c 2007-12-19 04:45:51.000000000 +0100
+++ ical2sqlite/src/main.c 2009-02-12 20:03:14.000000000 +0100
@@ -236,11 +236,15 @@
switch(recur.freq) {
case ICAL_DAILY_RECURRENCE:
frequency = 1; break;
- case ICAL_MONTHLY_RECURRENCE:
frequency = 2; break;
- case ICAL_YEARLY_RECURRENCE:
frequency = 3; break;
+ case ICAL_WEEKLY_RECURRENCE:
frequency = 2; break;
+ case ICAL_MONTHLY_RECURRENCE:
frequency = 3; break;
+ case ICAL_YEARLY_RECURRENCE:
frequency = 4; break;
}
- until = icaltime_as_timet(recur.until)
- epoch;
-
+ if (icaltime_as_timet(recur.until)!=0)
+ until =
icaltime_as_timet(recur.until) - epoch;
+ else
+ until=0;
+
int pos = 2, i=0;
bydaybuf[0] = 'D'; bydaybuf[1] = '=';
for(i = 0; recur.by_day[i] !=
ICAL_RECURRENCE_ARRAY_MAX; i++) {
--
Ubuntu-motu mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu