[wellylug] php and new Daylight Savings Time

nic nic at tymar.com
Mon Oct 1 20:03:53 NZDT 2007


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?

Cheers

Nic C-L




More information about the wellylug mailing list