From: Daniel G. <dg...@su...> - 2006-11-27 21:57:58
|
On Monday 27 November 2006 12:21, Harald Hoyer wrote: > Btw, how do you handle the UTC vs localtime problem? > The Nokia sends localtime time strings and does not understand the UTC "Z" > parameter of the time strings sent back? This is a know issue :( Most Nokia mobile phones seems to store only local timestamps without any timezone information (at least i didn't found any so far...). Most Sony Ericsson seems to store only in UTC ... i guess there even more mobile phone which mix this totally up and make this difficult to handle. I have written a quick workaround for this problem. I enhance a bit the time api of OpenSync and added some code to the syncml plugin which enhance it with another plugin option: <onlyLocaltime> If you set <onlyLocaltime>1</onlyLocaltime> it should work correctly with your Nokia. Let me now if it works for you so i can commit to SVN. Maybe we have to add this workaround also for IrMC-sync plugin and other which handles vcards directly... maybe we can solve this in the devel-branch directly... best regards, Daniel |