List Info

Thread: Patch for recurrence on Sync4j.php




Patch for recurrence on Sync4j.php
country flaguser name
Netherlands
2007-03-22 08:50:23
The last couple of days, I've been testing my Windows Mobile
PDA against the
horde syncml backend using the latest funambol plugin. I've
noticed that
recurrence of the type 'daily, every weekday' in WM is
handled differently
from kronolith. Kronolith assumes a daily item is supposed
to happen every
day, whereas WM/Funambol/vCard assume a daily item works
every day _unless_
the BYDAY or DayOfWeekMask values are set.

This means that when the WM recurtype 'daily, every weekday'
was used,
kronolith also displayed it's items on Saturday and Sunday.
This is ofcourse
not desirable.

I've been working with recurrence in Kronolith and vCal
format for a
separate project of mine, and have come up with the attached
patch to
SyncML/Devices/Sync4j.php to fix this bug.

I've tested this patch with both regular daily and
weekday-daily recurrence,
and so far have not been able to break the new
functionality.

Regards,

Jochem

-- 
sync mailing list - Join the hunt: http://horde.org/boun
ties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribelists.horde.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )