gnome-pim sync w/ monthly recurrences
- From: Robert Mibus <mibus bigpond com>
- To: gnome-pilot-list gnome org
- Subject: gnome-pim sync w/ monthly recurrences
- Date: Mon, 26 Jun 2000 20:00:36 +0930
this patch is very small, & fixes the maths problem when syncing a monthly
recurring event (eg. 3rd tues) from the pilot to gncal.
(or at least it should, and it works for me :-)
can someone please commit this to cvs? (or forward it to someone who can?)
[also @ http://users.bigpond.com/mibus/gnome-pim.patch]
mibus
--
Robert Mibus <mibus@bigpond.com>
A journey of a thousand miles begins with a cash advance.
--- calendar-conduit.c.orig Tue Mar 14 18:09:27 2000
+++ calendar-conduit.c Mon Jun 26 19:53:39 2000
@@ -447,8 +447,8 @@
case repeatMonthlyByDay:
obj->recur->type = RECUR_MONTHLY_BY_POS;
- obj->recur->u.month_pos = a.repeatFrequency;
- obj->recur->weekday = (a.repeatDay / 7);
+ obj->recur->u.month_pos = (a.repeatDay / 7) + 1;
+ obj->recur->weekday = (a.repeatDay % 7);
break;
case repeatYearly:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]