#44592 [Opn]: usage of deprecated timezone UTC suggested
| From: | derick@php.net | Date: | Tue, 01 Apr 2008 13:11:22 +0000 |
| Subject: | #44592 [Opn]: usage of deprecated timezone UTC suggested | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-646@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
Bug Type: Documentation problem
Operating System: any
PHP Version: Irrelevant
New Comment:
UTC is not deprecated.. the message on that page is not 100% correct.
Previous Comments:
------------------------------------------------------------------------
[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