[kronolith] Kronolith - Birthdays off by one day

John H. Bennett III bennettj at thebennetthome.com
Thu Oct 2 21:48:06 UTC 2014


Quoting Michael J Rubinsky <mrubinsk at horde.org>:

> Quoting Volker Then <horde40 at volkerthen.com>:
>
>> Zitat von "John H. Bennett III" <bennettj at thebennetthome.com>:
>>
>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>
>>>> Quoting Volker Then <horde40 at volkerthen.com>:
>>>>
>>>>> Zitat von "John H. Bennett III" <bennettj at thebennetthome.com>:
>>>>>
>>>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>>
>>>>>>> Quoting John H. Bennett III <bennettj at thebennetthome.com>:
>>>>>>>
>>>>>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>>>>
>>>>>>>>> Quoting Volker Then <horde40 at volkerthen.com>:
>>>>>>>>>
>>>>>>>>>> Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>>>>>>
>>>>>>>>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>>>>>>>
>>>>>>>>>>>> Quoting John H. Bennett III <bennettj at thebennetthome.com>:
>>>>>>>>>>>>
>>>>>>>>>>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Quoting John H. Bennett III <bennettj at thebennetthome.com>:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Quoting Simon Wilson <simon at simonandkate.net>:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I've stumbled across a problem that I don't know  
>>>>>>>>>>>>>>>>> what's going on.
>>>>>>>>>>>>>>>>> I've added birthdays to some of my contacts, I put  
>>>>>>>>>>>>>>>>> them in with the
>>>>>>>>>>>>>>>>> correct date, but some time in the future, I look at  
>>>>>>>>>>>>>>>>> them on the
>>>>>>>>>>>>>>>>> Calendar, and some show a day off (ahead one day).   
>>>>>>>>>>>>>>>>> I edit them in
>>>>>>>>>>>>>>>>> turba again, and again some time in the future some  
>>>>>>>>>>>>>>>>> are off a day.
>>>>>>>>>>>>>>>>> This has happened 4 times in the last 2 weeks.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I don't know what's triggering this. Anyone else  
>>>>>>>>>>>>>>>>> seeing this?  What
>>>>>>>>>>>>>>>>> can I look for to help try to explain this.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> John
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> There has been discussion on this in the past on the  
>>>>>>>>>>>>>>>> list... mostly around birthdays syncing incorrectly  
>>>>>>>>>>>>>>>> through ActiveSync and back.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> If this is due to ActiveSync, it should only affect the  
>>>>>>>>>>>>>> contacts that have been edited on the client. Is that  
>>>>>>>>>>>>>> what you are seeing?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>> mike
>>>>>>>>>>>>>> The Horde Project
>>>>>>>>>>>>>> http://www.horde.org
>>>>>>>>>>>>>> https://www.facebook.com/hordeproject
>>>>>>>>>>>>>> https://www.twitter.com/hordeproject
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Mike,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Yes, that is what I am seeing.  I made a change to my  
>>>>>>>>>>>>> contact info on my Note 3,
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Can you tell me what Android version you are using on the  
>>>>>>>>>>> Note? Did you take the KK update?
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Here it is only with contacts that are edited on the client  
>>>>>>>>>> - and that happens (almost) every time the contact has been  
>>>>>>>>>> edited. Some of the birthdays shifted minus four days after  
>>>>>>>>>> a few edits. Nexus 5, Kitkat 4.4.4, Nine.
>>>>>>>>>
>>>>>>>>> Can you test if this commit:
>>>>>>>>>
>>>>>>>>> https://github.com/horde/horde/compare/46ff2bea431aa99d82afc33d19cfb5cd23be90a4...b8a48c13b550d70754a9b3585912762683ff1ddc
>>>>>>>>>
>>>>>>>>> fixes it for you?
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>
>>>>>>>> Hi Mike,
>>>>>>>>
>>>>>>>> That didn't fix it.  The date still shows up one day earlier.
>>>>>>>>
>>>>>>>> I created 2 contacts with different birthdays.  Edited one  
>>>>>>>> from my device, and one from turba, then did a sync.  Contact  
>>>>>>>> edited on device, shows birthday one day early.  Contact from  
>>>>>>>> turba, fine.  Then did the opposite, and original contact  
>>>>>>>> edited from turba now shows birthday one day early.
>>>>>>>>
>>>>>>>> Please let me know if you want to to try anything else.
>>>>>>>
>>>>>>> What timezone are you in? I want to set up my environment the  
>>>>>>> same as yours so I can trace this.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> mike
>>>>>>> The Horde Project
>>>>>>> http://www.horde.org
>>>>>>> https://www.facebook.com/hordeproject
>>>>>>> https://www.twitter.com/hordeproject
>>>>>>
>>>>>> I am in the Central Time Zone.
>>>>>>
>>>>>> from php.ini - date.timezone = "America/Chicago", horde prefs  
>>>>>> set to America/Chicago also.
>>>>>>
>>>>>> John
>>>>>>
>>>>>
>>>>> The commit didn't work for me either. I am in CEST. Horde prefs  
>>>>> set to Europe/Berlin.
>>>>
>>>> Ok. How about the lastest Git?
>>>>
>>>>
>>> Still didn't work for me with my note3.
>>>
>>> I used the raw file from this link,  
>>> https://github.com/horde/horde/blob/master/framework/ActiveSync/lib/Horde/ActiveSync/Device.php
>>>
>>> John
>>
>> Same here.
>
> I reread the Android source code for the contacts sync provider and  
> revamped some code in Horde. The current code (already released in  
> PEAR) works for me on my various test devices, and all the tests  
> pass. If it doesn't work for you at this point, I'm really not sure  
> what else to tell you other than you will need to trace the code to  
> see where the date is being shifted.
>

Still doesn't work for me.  I turned on per device logging and have a  
log I can send to you personally, if that is OK?

My install is current as of today.  These were updated today.
Horde_ActiveSync-2.19.2.tgz
Horde_Core-2.14.2.tgz
Horde_CssMinify-1.0.2.tgz
Horde_Dav-1.1.0.tgz
Horde_Db-2.1.4.tgz
Horde_Mail_Autoconfig-1.0.1.tgz
Horde_Pack-1.0.4.tgz

Thanks,

John




More information about the kronolith mailing list