[PHP-BUG] Bug #51473 [NEW]: DST did not change when Windows changed

[email protected] ("phil at phillydog dot info") Mon, 5 Apr 2010 04:16:32 +0200 (CEST)
Newsgroups php.bugs
Message-ID <[email protected]>
From:             
Operating system: WIN/2003 SP2
PHP version:      Irrelevant
Package:          Performance problem
Bug Type:         Bug
Bug description:DST did not change when Windows changed

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 bug report at http://bugs.php.net/bug.php?id=51473&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=51473&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=51473&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=51473&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=51473&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51473&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=51473&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=51473&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=51473&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=51473&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=51473&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=51473&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=51473&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=51473&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=51473&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51473&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51473&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=51473&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=51473&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=51473&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=51473&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=51473&r=mysqlcfg