Discussion:
All Day Event problem (Version Synce 0.12, OpenSync 0.22)
Silas Francisco
2008-08-28 02:49:55 UTC
Permalink
Hi guys! I'm new here, so if i do something wrong, please correct me! :-)

I'm using Mandriva 2008.1's SynCE packages (0.12 I think) and a
HTC-P4350 mobile phone.


When I create some event in mobile calendar and put it as an All Day
Event, syncing with evolution or file-system makes it appears one day
off... For example, if I create an All Day Event for 2008-09-02
(YYYY-MM-DD) on mobile phone, in evolution will appears as and All Day
Event for 2008-09-01, same in file-system too (pas-id-D4blablabla files).

I've got some information from sync-engine:

A non All Day Event give this XML:
-------------------------------------------------
<vcal>
<Event>
<Alarm>
<AlarmTrigger>
<Content>-PT15M</Content>
<Value>DURATION</Value>
<Related>START</Related>
</AlarmTrigger>
<AlarmAction>DISPLAY</AlarmAction>
<AlarmDescription/>
</Alarm>
<Transparency>
<Content>OPAQUE</Content>
</Transparency>
<LastModified>
<Content>20080828T012251Z</Content>
</LastModified>
<DateStarted>
<Content>20080902T010000Z</Content>
</DateStarted>
<DateEnd>
<Content>20080902T020000Z</Content>
</DateEnd>
<Location>
<Content/>
</Location>
<Summary>
<Content>Coco</Content>
</Summary>
<Description>
<Content/>
</Description>
<Categories/>
</Event>
</vcal>
---------------------------------
Translated do the filesystem as:

-------------------------------------
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
DALARM:20080902T004500Z;
TRANSP:1
LAST-MODIFIED:20080828T012251Z
DTSTART:20080902T010000Z
DTEND:20080902T020000Z
LOCATION:
SUMMARY:Coco
DESCRIPTION:
CATEGORIES:
END:VEVENT
END:VCALENDAR
----------------------------------

An All Day Event:

---------------------------------
<vcal>
<Event>
<Alarm>
<AlarmTrigger>
<Content>-PT15M</Content>
<Value>DURATION</Value>
<Related>START</Related>
</AlarmTrigger>
<AlarmAction>DISPLAY</AlarmAction>
<AlarmDescription/>
</Alarm>
<Transparency>
<Content>OPAQUE</Content>
</Transparency>
<LastModified>
<Content>20080828T010752Z</Content>
</LastModified>
<DateStarted>
<Content>20080901</Content>
</DateStarted>
<DateEnd>
<Content>20080902</Content>
</DateEnd>
<Location>
<Content/>
</Location>
<Summary>
<Content>Merda</Content>
</Summary>
<Description>
<Content/>
</Description>
<Categories/>
</Event>
</vcal>
---------------------------------------------

Translates to:

----------------------------------
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
DALARM:20080831T234500Z;
TRANSP:1
LAST-MODIFIED:20080828T010752Z
DTSTART:20080901T000000
DTEND:20080901T235900
LOCATION:
SUMMARY:Merda
DESCRIPTION:
CATEGORIES:
END:VEVENT
END:VCALENDAR
----------------------------------

It appears that to Micro$oft an event starting in 20080901 and ending in
20080902, is the entire 20080902 day :-S

What can i do?

Thanks :-)
Silas Francisco
2008-09-03 18:49:18 UTC
Permalink
Post by Silas Francisco
Hi guys! I'm new here, so if i do something wrong, please correct me! :-)
I'm using Mandriva 2008.1's SynCE packages (0.12 I think) and a
HTC-P4350 mobile phone.
When I create some event in mobile calendar and put it as an All Day
Event, syncing with evolution or file-system makes it appears one day
off... For example, if I create an All Day Event for 2008-09-02
(YYYY-MM-DD) on mobile phone, in evolution will appears as and All Day
Event for 2008-09-01, same in file-system too (pas-id-D4blablabla files).
-------------------------------------------------
<vcal>
<Event>
<Alarm>
<AlarmTrigger>
<Content>-PT15M</Content>
<Value>DURATION</Value>
<Related>START</Related>
</AlarmTrigger>
<AlarmAction>DISPLAY</AlarmAction>
<AlarmDescription/>
</Alarm>
<Transparency>
<Content>OPAQUE</Content>
</Transparency>
<LastModified>
<Content>20080828T012251Z</Content>
</LastModified>
<DateStarted>
<Content>20080902T010000Z</Content>
</DateStarted>
<DateEnd>
<Content>20080902T020000Z</Content>
</DateEnd>
<Location>
<Content/>
</Location>
<Summary>
<Content>Coco</Content>
</Summary>
<Description>
<Content/>
</Description>
<Categories/>
</Event>
</vcal>
---------------------------------
-------------------------------------
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
DALARM:20080902T004500Z;
TRANSP:1
LAST-MODIFIED:20080828T012251Z
DTSTART:20080902T010000Z
DTEND:20080902T020000Z
SUMMARY:Coco
END:VEVENT
END:VCALENDAR
----------------------------------
---------------------------------
<vcal>
<Event>
<Alarm>
<AlarmTrigger>
<Content>-PT15M</Content>
<Value>DURATION</Value>
<Related>START</Related>
</AlarmTrigger>
<AlarmAction>DISPLAY</AlarmAction>
<AlarmDescription/>
</Alarm>
<Transparency>
<Content>OPAQUE</Content>
</Transparency>
<LastModified>
<Content>20080828T010752Z</Content>
</LastModified>
<DateStarted>
<Content>20080901</Content>
</DateStarted>
<DateEnd>
<Content>20080902</Content>
</DateEnd>
<Location>
<Content/>
</Location>
<Summary>
<Content>Merda</Content>
</Summary>
<Description>
<Content/>
</Description>
<Categories/>
</Event>
</vcal>
---------------------------------------------
----------------------------------
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
DALARM:20080831T234500Z;
TRANSP:1
LAST-MODIFIED:20080828T010752Z
DTSTART:20080901T000000
DTEND:20080901T235900
SUMMARY:Merda
END:VEVENT
END:VCALENDAR
----------------------------------
It appears that to Micro$oft an event starting in 20080901 and ending in
20080902, is the entire 20080902 day :-S
What can i do?
Thanks :-)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
bump

Loading...