[sync] all day events

Karsten Fourmont fourmont at gmx.de
Sun Nov 5 02:01:27 PST 2006


Hi,

thanks for the feedback. A fix for all day events on the P990 is in cvs 
now (only P800.php has changed). Give it a try.

Cheers,
  Karsten

Håvard Wigtil wrote:
> lør, 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://håvard.wigtil.net> || http://wigtil.net




More information about the sync mailing list