[wellylug] php and new Daylight Savings Time

nic nic at tymar.com
Tue Oct 2 09:55:39 NZDT 2007


It seems to be a problem with versions 5.1.0 up to 5.1.5 (or at least I saw a reference to 
a problem with 5.1.0, and it works on 5.1.6)

Nic

Jethro Carr wrote:
> On Mon, 2007-10-01 at 20:03 +1300, nic wrote:
>> Has anyone else hit problems with php's internal timezone magic being broken with the new 
>> daylight savings time? I've found this:
>>
>> * Machine time is reported correctly. I've even gone as far as rebooting it.
>>
>> * zdump -v Pacific/Auckland shows the correct daylight savings time.
>>
>> * I've downloaded, compiled, installed the newest php timezonedb.
>>
>> * Timezone reported by phpinfo() set to Pacific/Auckland.
>>
>> BUT:
>> time as reported by strftime('%Y-%m-%d %H:%M:%S') is 1 hour behind real time.
>>
>> Any insights?
> 
> PHP 4.3.9 (version distributed with RHEL/CentOS 4) works fine.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 




More information about the wellylug mailing list