[sync] Timezone problem when synchronizing

Remco Wulms cn at wulms.net
Sun Jun 10 17:14:24 UTC 2007


Hi,

I just updated all modules from the cvs and tested the  
synchronization, but the behaviour is the same so the problem remains.  
The syncml_log.txt file follows below.

Regards, Remco



DEBUG:  Backend of class SyncML_Backend_Horde created
DEBUG:  New session created: d9a4fffc52201c381996348301bd05be
DEBUG:  checking auth for user=remcox
DEBUG:  authorized=1 version=1 msgid=1 source=IMEI:355659000917298  
target=https://hordedev.wulms.net/rpc.php user=remcox charset=UTF-8  
wbxml=1
DEBUG:  previous sync found for database: ./calendar; client-ts:  
20070610T170037Z
DEBUG:  SyncML: Anchor match, TwoWaySync since 20070610T170037Z
DEBUG:  Create new sync for ./calendar; synctype=200
DEBUG:  HandleFinal for state=0
DEBUG:  Received Final from client.
DEBUG:  Sending Final to client.
DEBUG:  SyncML: return message completed
DEBUG:  Finished at 2007-06-10 19:03:02. Packet logged in  
/tmp/sync/syncml_server_10.wbxml

DEBUG:  Backend of class SyncML_Backend_Horde created
DEBUG:  Existing session continued: d9a4fffc52201c381996348301bd05be
DEBUG:  authorized=1 version=1 msgid=2 source=IMEI:355659000917298  
target=https://hordedev.wulms.net/rpc.php user=remcox charset=UTF-8  
wbxml=1
DEBUG:  created device class SyncML_Device_Nokia
DEBUG:  HandleFinal for state=1
DEBUG:  server create sync output for syncType=./calendar
DEBUG:  Compiling server changes from 2007-06-10 19:00:06 to  
2007-06-10 19:03:02
DEBUG:  sending 1 server changes for syncType=./calendar
DEBUG:  replace: 20070610185910.5x9vmg9rr18g at hordedev.wulms.net
DEBUG:  Received Final from client.
DEBUG:  Sending Final to client.
DEBUG:  SyncML: return message completed
DEBUG:  Finished at 2007-06-10 19:03:13. Packet logged in  
/tmp/sync/syncml_server_11.wbxml

DEBUG:  Backend of class SyncML_Backend_Horde created
DEBUG:  Existing session continued: d9a4fffc52201c381996348301bd05be
DEBUG:  authorized=1 version=1 msgid=3 source=IMEI:355659000917298  
target=https://hordedev.wulms.net/rpc.php user=remcox charset=UTF-8  
wbxml=1
DEBUG:  HandleFinal for state=3
DEBUG:  Received Final from client.
DEBUG:  Sending Final to client.
INFO:   Successful sync of ./calendar! Summary: failures=0;  
client(Add,Replace,Delete,AddReplaces)=0,0,0,0;  
server(Add,Replace,Delete)=0,1,0
DEBUG:  Finished at 2007-06-10 19:03:22. Packet logged in  
/tmp/sync/syncml_server_12.wbxml




Quoting Karsten Fourmont <fourmont at gmx.de>:

> Hi,
>
> I made some changes to make this work. in cvs right now. Please test!
>
> Thanks,
>  Karsten
>
> Remco Wulms wrote:
>> Hi,
>>
>> I'm trying to synchronize the calender of my Nokia 6681 with   
>> Kronolith, using the cvs HEAD of today. Events that are sent to   
>> Kronolith work fine, but events that are sent from Kronolith end up  
>>  with start and end times 2 hours too early on the phone.
>>
>> The timezone settings of both the phone and Horde are set to  
>> Europe/Amsterdam.
>>
>> From /tmp/sync/data.txt:
>>
>> Client -> server
>>
>> DTSTART:20070601T190000
>> DTEND:20070601T220000
>>
>> These times get sent unconverted to Kronolith, and are displayed in  
>>  the same way, so this is correct.
>>
>> Server -> client
>>
>> DTSTART:20070602T190000Z
>> DTEND:20070602T210000Z
>>
>> These times seem to be converted to GMT, and end up 2 hours early  
>> on  the phone.
>>
>> Any ideas how to get this working properly?
>>
>> Regards, Remco
>>
>
>




More information about the sync mailing list