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

Michael J Rubinsky mrubinsk at horde.org
Thu Mar 6 17:48:27 UTC 2014


Quoting Robert Schetterer <rs at sys4.de>:

> Am 06.03.2014 17:19, schrieb Michael J Rubinsky:
>>
>> Quoting Robert Schetterer <rs at sys4.de>:
>>
>>> Am 06.03.2014 16:02, schrieb Michael J Rubinsky:
>>>> 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'));
>>>
>>> hm seems to be a problem
>>>
>>> exception 'Horde_Timezone_Exception' with message 'Unable to open file
>>> file:///path/to/tzdata-latest.tar.gz.' in
>>> /usr/share/horde/pear/php/Horde/Timezone.php:195
>>> Stack trace:
>>
>> You did change the path to the actual path on your filesystem, right?
>
> my fault , kids running wild during test *g
>
>
>
> now test
>
> $tz = new Horde_Timezone(array(
>             'location' => 'file:///usr/share/horde/tzdata-latest.tar.gz',
>             'temp' => Horde::getTempDir()));
>
> var_dump($tz->getZone('America/New_York'));
>
>
>
> exception 'Horde_Timezone_Exception' with message 'Timezone
> America/New_York not found' in
> /usr/share/horde/pear/php/Horde/Timezone.php:130
> Stack trace:
> #0 /usr/share/horde/admin/phpshell.php(64) : eval()'d code(5):
> Horde_Timezone->getZone('America/New_Yor...')
> #1 /usr/share/horde/admin/phpshell.php(64): eval()
> #2 {main}
>
>
> same with Europe/Berlin

Third times a charm... try now?
-- 
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/98b5adb8/attachment.bin>


More information about the horde mailing list