Doc #70265 [ReO->Csd]: Wrong name of DateTimeImmutable::__construct's 2nd param

[email protected] Fri, 20 May 2022 13:19:47 +0000
Newsgroups php.doc.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=70265&edit=1

 ID:                 70265
 Updated by:         [email protected]
 Reported by:        ocramius at gmail dot com
 Summary:            Wrong name of DateTimeImmutable::__construct's 2nd
                     param
-Status:             Re-Opened
+Status:             Closed
 Type:               Documentation Problem
 Package:            Date/time related
 PHP Version:        7.0.0beta3
-Assigned To:        
+Assigned To:        derick
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php

This argument is now called 'timezone' in PHP (since about 8.0, I believe) and this is also how it is documented, to I believe there is nothing to do here.


Previous Comments:
------------------------------------------------------------------------
[2015-08-14 21:28:13] [email protected]

Due the discussion following
<http://news.php.net/php.doc.cvs/13572> I've reverted the
documentation change for now.

------------------------------------------------------------------------
[2015-08-14 21:09:29] [email protected]

Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=337458
Log: reverted revision 337451:
fixed wrong parameter name (Reflection!) (fixes #70265)

------------------------------------------------------------------------
[2015-08-14 12:49:57] [email protected]

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

------------------------------------------------------------------------
[2015-08-14 12:49:33] [email protected]

Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=337451
Log: fixed wrong parameter name (Reflection!) (fixes #70265)

------------------------------------------------------------------------
[2015-08-14 08:19:16] ocramius at gmail dot com

Good point! I guess it is a documentation change issue then? The parameter has always been documented as `timezone`, as far as I can see.

------------------------------------------------------------------------


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=70265


--
Edit this bug report at https://bugs.php.net/bug.php?id=70265&edit=1