#49158 [NEW]: Time zone 'Pacific/Yap' is not in listed in DateTimeZone::listIdentifiers()
| From: | bugs at nazarenko dot net | Date: | Tue, 04 Aug 2009 18:38:28 +0000 |
| Subject: | #49158 [NEW]: Time zone 'Pacific/Yap' is not in listed in DateTimeZone::listIdentifiers() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-140656@lists.php.net to get a copy of this message | ||
From: bugs at nazarenko dot net
Operating system: Windows
PHP version: 5.3.0
PHP Bug Type: Date/time related
Bug description: Time zone 'Pacific/Yap' is not in listed in
DateTimeZone::listIdentifiers()
Description:
------------
When getting a list of supported time zones via
DateTimeZone::listIdentifiers(), the 'Pacific/Yap' time zone is missing.
This time zone should be the last in the list.
Reproduce code:
---------------
<?php
$tzs = DateTimeZone::listIdentifiers();
print_r($tzs);
?>
Expected result:
----------------
Skipped long output....
...
[396] => Pacific/Tarawa
[397] => Pacific/Tongatapu
[398] => Pacific/Truk
[399] => Pacific/Wake
[400] => Pacific/Wallis
[401] => Pacific/Yap
[402] => UTC
)
Actual result:
--------------
Skipped long output....
...
[396] => Pacific/Tarawa
[397] => Pacific/Tongatapu
[398] => Pacific/Truk
[399] => Pacific/Wake
[400] => Pacific/Wallis
[401] => UTC
)
--
Edit bug report at http://bugs.php.net/?id=49158&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49158&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49158&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49158&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49158&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49158&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49158&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49158&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49158&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49158&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49158&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49158&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49158&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49158&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49158&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49158&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49158&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49158&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49158&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49158&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49158&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49158&r=mysqlcfg