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

Steffen skhorde at smail.inf.fh-bonn-rhein-sieg.de
Fri Mar 7 14:36:57 UTC 2014


On Thu, 6 Mar 2014, Robert Schetterer wrote:

Dear Michael,

>>> https://github.com/horde/horde/blob/5804ceef888dc93f8758d386df14b69d7f0b89dd/framework/Timezone/lib/Horde/Timezone.php

do I understand the problem correct, that the access to 
ftp://ftp.iana.org/tz/tzdata-latest.tar.gz failed, that gone unnoticed and 
therefore the calculation went wrong?

Actually, this will explain the fact, that - after I read this thread - I 
found that one server does not have the problem, because that host could 
evaluate:

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

var_dump($tz->getZone('America/New_York'));

Anyway, with the tzdata-latest.tar.gz locally cached on HD, two other 
boxes that had the problem earlier do work now. !

-- 
Steffen


More information about the horde mailing list