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

Michael J Rubinsky mrubinsk at horde.org
Thu Mar 6 16:19:58 UTC 2014


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?
-- 
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/aada9cd4/attachment-0001.bin>


More information about the horde mailing list