[horde] Recurrent Appointments not reading timezone info correctly?

Simon Wilson simon at simonandkate.net
Tue May 27 03:45:51 UTC 2014


----- Message from Michael J Rubinsky <mrubinsk at horde.org> ---------
     Date: Mon, 26 May 2014 21:51:52 -0400
     From: Michael J Rubinsky <mrubinsk at horde.org>
Reply-To: mrubinsk at horde.org
  Subject: Re: [horde] Recurrent Appointments not reading timezone  
info correctly?
       To: horde at lists.horde.org


> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>
>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>
>>> Quoting Simon Wilson <simon at simonandkate.net>:
>>>
>>>> ----- Message from simon at simonandkate.net ---------
>>>>    Date: Tue, 20 May 2014 15:25:04 +1000
>>>>    From: simon at simonandkate.net
>>>> Subject: Re: [horde] Recurrent Appointments not reading timezone info
>>>> correctly?
>>>>      To: mrubinsk at horde.org
>>>>      Cc: horde at lists.horde.org
>>>>
>>>>>> On 20 May 2014, at 1:47 pm, Michael J Rubinsky <mrubinsk at horde.org>
>>>>>> wrote:
>>>>>>
>>>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>>
>>>>>>> Quoting Simon Wilson <simon at simonandkate.net>:
>>>>>>>
>>>>>>>> Horde 5.1.6, Kronolith 4.1.5
>>>>>>>>
>>>>>>>> We setup TWO appointments in my wife's calendar, both inviting me as
>>>>>>>> an attendee.
>>>>>>>>
>>>>>>>> First one was a SINGLE non-recurrent event that came through with
>>>>>>>> times fine, displaying both in Katie's calendar all fine, and showing
>>>>>>>> in my Imp ics viewer fine, and accepted and showing in Kronolith fine.
>>>>>>>>
>>>>>>>> <SNIP>
>>>>>>>>  
>>>>>>>
>>>>>>> Does the ics file look the same if it exported directly from Katie's
>>>>>>> calendar?
>>>>>>
>>>>>> This may or may not be fixed by
>>>>>>
>>>> https://github.com/horde/horde/commit/7f6f41619c7ce923a56ba6f5d678aba30818daa8#diff-3115bd8529b81bde2eeba73f7cdde96d
>>>> (this fixed a number of timezone related issues I uncovered while  
>>>> trying to
>>>> track this
>>>>>> down).
>>>>>>
>>>>>> --
>>>>>> mike
>>>>>
>>>>> I'll check tonight, also what the ics looks like when exported from
>>>>> Katie's calendar.
>>>>>
>>>>> Thanks Mike :)
>>>>>
>>>>> Simon.
>>>>
>>>> Hi Mike,
>>>>
>>>> Not fixed unfortunately. :(
>>>>
>>>> Changes applied to kronolith/lib/Application.php as per the push. Stopped
>>>> httpd, horde-clear-cache, cleared xcache. Restarted everything. (Any
>>>> way to confirm that it's taken effect?)
>>>>
>>>> I generated a test recurrent appointment for 8th July, every two weeks,
>>>> 11am to 12 noon, in Katie's calendar, with me as an attendee. 
>>>>
>>>> Appears in Katie's calendar fine, but the invite to me appears in Imp
>>>> and imports as 10am to
>>>> 11am. 
>>>>
>>>> Three ics files following.
>>>>
>>>> Simon
>>>>
>>>>
>>>>
>>>> First is the ics as sent to me
>>>> Second is the ics exported from Katie's calendar
>>>> Third is the ics exported from MY calendar after accepting it.
>>>>
>>>> Both first two have the same information, with the event showing from
>>>> 11am to 12 noon
>>>>
>>>> DTSTART;TZID=Australia/Brisbane:20140708T110000
>>>> DTEND;TZID=Australia/Brisbane:20140708T120001
>>>>
>>>> My Imp displays it 10 to 11am, and it imports the same. The export
>>>> from my calendar then shows:
>>>>
>>>> DTSTART;TZID=Australia/Brisbane:20140708T100000
>>>> DTEND;TZID=Australia/Brisbane:20140708T110001
>>>>
>>>> ics as sent to me:
>>>>
SNIP
>>>
>>>
>>> Looked at this some again tonight. I've narrowed it down to the  
>>> fact that Horde seems to generate the wrong UTC offset when  
>>> importing the ics in Horde_Icalendar::_parseDateTime(). I have yet  
>>> to figure out WHY this happens, or if the tz data in the ics has  
>>> the wrong info...
>>
>> Ok. I found the issue, but I'm not familiar enough with the ics  
>> code to figure out how to fix this quickly. I'm going to create a  
>> ticket and break down the issue so hopefully Jan can take a look at  
>> it.
>
>
>   http://bugs.horde.org/ticket/13223
>
> -- 
> mike

Awesome, thanks Mike. I hadn't got around to logging the bug, but  
you've done it better than I ever could having identified the issue  
anyway!

Simon.



--
Simon Wilson
M: 0400 12 11 16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1339 bytes
Desc: PGP Public Key
URL: <http://lists.horde.org/archives/horde/attachments/20140527/c377c534/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20140527/c377c534/attachment-0001.bin>


More information about the horde mailing list