Bug #69916 [Ver->Nab]: DateTime and bad behaviour with DateTimeZone
Edit report at https://bugs.php.net/bug.php?id=69916&edit=1
ID: 69916
Updated by: derick@php.net
Reported by: marcus at onlab dot org
Summary: DateTime and bad behaviour with DateTimeZone
-Status: Verified
+Status: Not a bug
Type: Bug
Package: Date/time related
Operating System: *
PHP Version: 5.6.10
Block user comment: N
Private report: N
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.
The 3v4l link shows that this already fixed, in: 7.0.17 and 7.1.3 (and 7.2.0 and later)
Previous Comments:
------------------------------------------------------------------------
[2016-03-18 18:04:52] requinix@php.net
Related To: Bug #71855
------------------------------------------------------------------------
[2015-12-08 21:33:10] requinix@php.net
Related To: Bug #71061
------------------------------------------------------------------------
[2015-07-16 11:00:36] cmb@php.net
Related To: Bug #70086
------------------------------------------------------------------------
[2015-06-24 14:33:18] cmb@php.net
I just wanted to point out that showing misbehavior by using
deprecated and potentially unsupported timezone identifiers is not
necessarily an indication of a bug.
However, the test script on <http://3v4l.org/1idd6>
clearly shows
a bug. I've simplified this a bit (<http://3v4l.org/ldOMb>), and,
interestingly, when commenting out line 9, the result is as
expected.
The attached patch (timezone-quickfix) is supposed to fix the
issue, but it rather feels like a workaround instead of a
solution.
------------------------------------------------------------------------
[2015-06-24 14:32:17] cmb@php.net
The following patch has been added/updated:
Patch Name: timezone-quickfix
Revision: 1435156337
URL: https://bugs.php.net/patch-display.php?bug=69916&patch=timezone-quickfix&revision=1435156337
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69916
--
Edit this bug report at https://bugs.php.net/bug.php?id=69916&edit=1
Thread (7 messages)