Edit report at http://bugs.php.net/bug.php?id=51473&edit=1
ID: 51473 Updated by: [email protected] Reported by: phil at phillydog dot info Summary: DST did not change when Windows changed -Status: Open +Status: Bogus Type: Bug Package: Performance problem Operating System: WIN/2003 SP2 PHP Version: Irrelevant New Comment: Use php 5.2 and later as they support reliabe timezone data via a bundled database. 5.1 is not supported anymore since years anyway, and there are dozen of very good reasons to update to 5.2.x (security being one of them). Previous Comments: ------------------------------------------------------------------------ [2010-04-05 04:16:32] phil at phillydog dot info Description: ------------ While I know this appears to be fixed in PHP 5.1.x, I don't want to upgrade for a trivial thing. I am using PHP 5.0.5 on WIN/2003 Daylight savings did not change when my windows clock changed. My workaround was rather than using EST5EDT, I switched to AST4ADT 1) Why didn't PHP time simply change with Windows? 2) Can I simply update a DLL to have PHP see the new daylight savings dates as it changed TODAY (Easter) rather than a few weeks back. Test script: --------------- My workaround was rather than using EST5EDT, I switched to AST4ADT until time actually changes. Expected result: ---------------- I would assume that my PHP daylight savings would adhere to when windows switches to daylight savings. Actual result: -------------- Daylight savings changed TODAY (Easter) rather than a few weeks back, despite windows has said Eastern DAYLIGHT Time for a few weeks now. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51473&edit=1
