#44592 [Opn->Csd]: usage of deprecated timezone UTC suggested
| From: | derick@php.net | Date: | Tue, 01 Apr 2008 13:16:20 +0000 |
| Subject: | #44592 [Opn->Csd]: usage of deprecated timezone UTC suggested | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-647@lists.php.net to get a copy of this message | ||
ID: 44592
Updated by: derick@php.net
Reported By: bernhard at bksys dot at
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: any
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2008-04-01 13:11:22] derick@php.net
UTC is not deprecated.. the message on that page is not 100% correct.
------------------------------------------------------------------------
[2008-04-01 13:03:48] bernhard at bksys dot at
Description:
------------
http://www.php.net/manual/en/timezones.others.php
, which lists the
timezone UTC says: "Note: Please do not use any of the timezones listed
here, they only exist for backward compatible reasons."
OTOH
http://www.php.net/manual/en/function.date-default-timezone-set.php
says: "timezone_identifier The timezone identifier, like UTC or
Europe/Lisbon."
Also,
http://www.php.net/manual/en/function.date-default-timezone-get.php
says: "If none of the above options succeeds, return UTC".
I suggest to substitute UTC for something that does not exist for
backward compatible reasons only.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44592&edit=1