php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44817 Pacific/Auckland tz does not change to NZDT on correct date
Submitted: 2008-04-24 11:21 UTC Modified: 2008-04-24 11:23 UTC
From: belfilie at ie dot ibm dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 5.1.1 OS: XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: belfilie at ie dot ibm dot com
New email:
PHP Version: OS:

 

 [2008-04-24 11:21 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-24 11:22 UTC] jani@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 12:01:32 2024 UTC