#34386 [Opn->WFx]: date_default_timezone_set should provide a list of valid timezones
| From: | derick@php.net | Date: | Tue, 06 Sep 2005 05:49:31 +0000 |
| Subject: | #34386 [Opn->WFx]: date_default_timezone_set should provide a list of valid timezones | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969369903@lists.php.net to get a copy of this message | ||
ID: 34386
Updated by: derick@php.net
Reported By: david at tulloh dot id dot au
-Status: Open
+Status: Wont fix
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
Actually, there is code that returns a list of supported timezones. We
can not really document this as this list gets extended once in a
while. This new function (timezone_identifiers_list) is however not
enabled yet, but will be in PHP 5.1.1 and higher. For now you can check
on this url which ones are supported:
http://viewcvs.php.net/viewcvs.cgi/php-src/ext/date/lib/timezonedb.h?rev=1.4.2.2&content-type=text/vnd.viewcvs-markup
Previous Comments:
------------------------------------------------------------------------
[2005-09-06 06:05:13] david at tulloh dot id dot au
Description:
------------
date_default_timezone_set (and the rest of php documentation) do not
provide a listing of valid PHP timezones.
A list, or link to a list, would be very useful in choosing the correct
timezone rather than guess and check as is currently required (or read
the source code).
Additionally there should be some clarification on conflicting
timezones, such as EST.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34386&edit=1