ID: 44817 Updated by: [EMAIL PROTECTED] Reported By: belfilie at ie dot ibm dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: XP PHP Version: 5.2.5 New Comment:
Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2008-04-24 11:21:44] belfilie at ie dot ibm dot com 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 this bug report at http://bugs.php.net/?id=44817&edit=1