6.0.0-beta1
7/4/25

[#5250] Funambol to Kronolith, recur_enddate timezone issue
Summary Funambol to Kronolith, recur_enddate timezone issue
Queue Synchronization
Type Bug
State No Feedback
Priority 2. Medium
Owners
Requester jochem (at) mondrian (dot) nl
Created 04/12/2007 (6658 days ago)
Due
Updated 05/01/2008 (6273 days ago)
Assigned 04/09/2008 (6295 days ago)
Resolved 05/01/2008 (6273 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/01/2008 09:09:41 PM Chuck Hagenbuch State ⇒ No Feedback
 
04/23/2008 09:59:09 PM Chuck Hagenbuch Comment #4 Reply to this comment
Ping again?
04/10/2008 10:20:58 AM jochem (at) mondrian (dot) nl Comment #3 Reply to this comment
A colleague of mine is in the process of re-testing recurrence with 
the latest version of Kronolith and the Funambol Outlook client, I'll 
update when he has some results.
04/09/2008 03:13:44 PM Jan Schneider Comment #2
Taken from Karsten Fourmont
State ⇒ Feedback
Reply to this comment
I can't reproduce anymore, because Funambol sends both the number of 
occurrences (calculated from the recurrence end) and the recurrence 
end date. Since number of occurrences has precedence now in the Horde 
code, such events are converted now to recurrence rules like: 
RRULE:FREQ=WEEKLY;COUNT=10;INTERVAL=1;BYDAY=WE



Beside that, the date stamp sent by the client is a perfectly valid 
ISO date time string. If it's not correctly translated to the local 
timezone, this has to be fixed either in the iCalendar library or in 
Kronolith, but definitely not in the Sync4j device handler.



Can you please try if you still see this with the latest code from CVS 
or the next RCs?
04/12/2007 02:21:50 PM Chuck Hagenbuch State ⇒ Assigned
Assigned to Karsten Fourmont
 
04/12/2007 02:15:39 PM jochem (at) mondrian (dot) nl Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Funambol to Kronolith, recur_enddate timezone issue
Queue ⇒ Synchronization
New Attachment: Sync4j.php2.patch Download
State ⇒ Unconfirmed
Reply to this comment
When synchronizing a recurring item with an end (either date or count) 
from a windows mobile PDA with the funambol 3.x plugin to kronolith, 
the last appointment in kronolith is one before the last appointment 
on the PDA.



The funambol plugin converts the enddate on the PDA to Universal Time 
(for both end date and recur count), and the date gets stored 
unmodified in the kronolith database. Because of DST, I'm now two 
hours ahead of DST, which means the enddate is set to two hours before 
midnight on the endday, so the day before. This causes the recurrence 
to end prematurely.



The attached patch converts the PatternEndDate to a timestamp using 
mktime, then adds the difference from UTC using date('Z');



I've so far only noticed this issue with the Funambol plugin. I've 
asked a colleague of mine to test this using a Nokia device, to see if 
the problem is with the import of the vcard (can't imagine so), and 
not funambol's implementation.



In the mean time, I've attached the patch for review. Please comment 
if this isn't the right way to fix this, so I can learn how to do it 
correctly within the Horde framework.

Saved Queries