From:             belfilie at ie dot ibm dot com
Operating system: XP
PHP version:      5.2.5
PHP Bug Type:     Date/time related
Bug description:  Pacific/Auckland tz does not change to NZDT on correct date

Description:
------------
According to official sources, New Zealand will move from New Zealand
Standard Time (NZST) to New Zealand Daylight Time (NZDT) in 2008 on 28th
September (when Daylight Savings begins).
I'm running PHP Version 5.1.1 (option for 5.1.1 wasn't in the list above
but it's the one I'm running and not 5.2.5).
Currently it's switching to Daylight Savings on 5th October 2008 (as
opposed to 28th September).

Reproduce code:
---------------
Just set the default time zone to "Pacific/Auckland" then create a date
and test the offset. It should return +12:00 all the way up to 27th
September and from 28th onwards it should return +13:00.
But in fact, it starts returning +13:00 on dates from 5th October onwards.


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

Reply via email to