[sync] all day events

Håvard Wigtil havardw at pvv.org
Sat Nov 4 00:09:00 PST 2006


sat, 28,.10.2006 kl. 23.38 +0200, skrev Karsten Fourmont:

> Hi,
>
> I've made some changes regarding the handling of all day events.
>
> As there doesn't seem to be a unique standard to determine what's an all
 day event and what not, I can't be sure if this works for all phones 
now. Hopefully it does.
>
> So please give it a try.
>
> If it's not working, post an example of an all day event sent by your 
phone/pda to the list. The data can be found in /tmp/sync/data.txt


As you said, this is not easy! ;-)

I've tested with P990, and syncing an all day event from the phone to
Horde works.
Creating an all day event in Horde and syncing to the phone results in an
event that spans from 00:00 to 23:59, and is _not_ marked as an all day
event on the phone.

Examples created on the phone (from_phone.vcs) and in Horde
(from_horde.vcs) are attached.
There are two differences: Horde uses start at <date>T00000 and end at
<date>T235959, while the phone has <date>T000000 - <date+1>T000000. The
other one is that the record from the phone has the proprietary property
"X-EPOCAGENDAENTRYTYPE:EVENT".

I've tried (by beaming) combinations of these two changes to the phone,
and it turns out that the differences in dates doesn't matter, and
X-EPOCAGENDAENTRYTYPE:EVENT has to be present in order for the phone to
recognise the event as an all day event. The attached file
phone_test.vcs is displayed as an all day event when it is sent to the phone.

-- 
Håvard Wigtil || http://wigtil.net


More information about the sync mailing list