Patrick Ohly changed bug 55238
What Removed Added
Status ASSIGNED RESOLVED
Resolution --- FIXED

Comment # 3 on bug 55238 from
Fix is included in 1.3.1 (under preparation):

commit e8adfadceeb062ea3d311f1f651332301cd306c8
Author: Patrick Ohly <patrick.ohly@intel.com>
Date:   Fri Oct 5 10:22:23 2012 +0000

    vCalendar 1.0 + tasks: DUE date could be shifted by a day (FDO #55238)

    Because of incomplete support for time conversion, the due date
    could get mixed up when phone and PC were set to something other
    than UTC.

    Reported and fixed by Peter Jan.

diff --git a/src/syncevo/configs/scripting/11calendar.xml
b/src/syncevo/configs/scripting/11calendar.xml
index 613f061..db4720f 100644
--- a/src/syncevo/configs/scripting/11calendar.xml
+++ b/src/syncevo/configs/scripting/11calendar.xml
@@ -117,6 +117,7 @@
         if (SUMMARY==EMPTY) SUMMARY="unnamed"; // set dummy summary if we
still don't have one
         // due shaping for non-iCalendar 2.0
         if (ITEMDATATYPE()=="vCalendar10" && ALLDAYCOUNT(DUE,DUE,TRUE,TRUE)>0)
{
+          DUE = CONVERTTOUSERZONE(DUE);
           DUE = DATEONLY(DUE);
         }
         if (ITEMDATATYPE()=="vCalendar10") {


You are receiving this mail because: