Doc #44592 [Com]: usage of deprecated timezone UTC suggested

From: Date: Sat, 18 Sep 2010 18:48:59 +0000
Subject: Doc #44592 [Com]: usage of deprecated timezone UTC suggested
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5071@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=44592&edit=1 ID: 44592 Comment by: i at walkinraven dot name Reported by: bernhard at bksys dot at Summary: usage of deprecated timezone UTC suggested Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: any PHP Version: Irrelevant Block user comment: N New Comment: List of Supported Timezones -> Others, there are words: ---------------------------- Warning Please do not use any of the timezones listed here (besides UTC), they only exist for backward compatible reasons. URI: http://www.php.net/manual/en/timezones.others.php ---------------------------- I think the 'besides UTC' should be replaced by 'except UTC'. Previous Comments: ------------------------------------------------------------------------ [2008-04-01 13:16:19] derick@php.net 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. ------------------------------------------------------------------------ [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/bug.php?id=44592&edit=1

« previous php.doc.bugs (#5071) next »