[kronolith] Kronolith - Birthdays off by one day
Michael J Rubinsky
mrubinsk at horde.org
Thu Oct 2 16:22:48 UTC 2014
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.
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/kronolith/attachments/20141002/b7a5d58b/attachment.bin>
More information about the kronolith
mailing list