[horde] kronolith off-by-one-hour daylight savings time bug

Michael J Rubinsky mrubinsk at horde.org
Thu Mar 6 15:02:33 UTC 2014


Quoting Robert Schetterer <rs at sys4.de>:

> Am 06.03.2014 15:23, schrieb Michael J Rubinsky:
>>
>> Quoting Robert Schetterer <rs at sys4.de>:
>>
>>> Am 06.03.2014 14:35, schrieb Michael J Rubinsky:
>>>> However, I was using the wrong variable name when loading the file,
>>>> should be fixed in Git (for real) now. Sorry for the confusion.
>>>
>>> tested not fixed ( one hour timeshift in lightning via caldav recuring
>>> events with passing daylight date boarder )
>>>
>>> https://github.com/horde/horde/blob/4420e8faaa699d3647d607d091ec74d5f7f58630/framework/Timezone/lib/Horde/Timezone.php
>>>
>>>
>>> to
>>>
>>> /usr/share/horde/pear/php/Horde/Timezone.php
>>>
>>> /usr/share/horde/config/conf.php
>>>
>>> $conf['timezone']['location'] =
>>> 'file:///usr/share/horde/tzdata-latest.tar.gz';
>>>
>>> ls -la /usr/share/horde/tzdata-latest.tar.gz
>>> -rw-r--r-- 1 www-data www-data 218866 2014-03-06 09:39
>>> /usr/share/horde/tzdata-latest.tar.gz
>>>
>>> no related errors in horde.log apache/error log can be found
>>
>> Verified locally that the timezone file is loaded and parsed using this
>> new code.
>
> please describe how to verify

Place the tzdata file somewhere the webserver can access, then in the  
phpshell in Horde's admin section:

$tz = new Horde_Timezone(array(
             'location' => 'file:///path/to/tzdata-latest.tar.gz',
             'temp' => Horde::getTempDir()));

var_dump($tz->getZone('America/New_York'));
-- 
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: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20140306/21e42b39/attachment.bin>


More information about the horde mailing list