Bug #70858 [NEW]: DateTimeZone::listIdentifiers() shows Europe/Simferopol in a wrong country
| From: | serhiy dot shkolyarenko at gmail dot com | Date: | Thu, 05 Nov 2015 09:20:11 +0000 |
| Subject: | Bug #70858 [NEW]: DateTimeZone::listIdentifiers() shows Europe/Simferopol in a wrong country | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-197039@lists.php.net to get a copy of this message | ||
From: serhiy dot shkolyarenko at gmail dot com
Operating system: any
PHP version: 7.0.0RC6
Package: Date/time related
Bug Type: Bug
Bug description:DateTimeZone::listIdentifiers() shows Europe/Simferopol in a wrong country
Description:
------------
Europe/Simferopol is displayed as russian city, but it's ukrainian city
according to international laws. It's a capital of Crimea and it's part
of Ukraine. Here is United Nations map
http://www.un.org/Depts/Cartographic/map/profile/ukraine.pdf
Test script:
---------------
var_dump(DateTimeZone::listIdentifiers(DateTimeZone::PER_COUNTRY,
'RU'));
Expected result:
----------------
...
[18] =>
string(13) "Europe/Samara"
[19] =>
string(16) "Europe/Volgograd"
Actual result:
--------------
...
[18] =>
string(13) "Europe/Samara"
[19] =>
string(17) "Europe/Simferopol"
[20] =>
string(16) "Europe/Volgograd"
--
Edit bug report at https://bugs.php.net/bug.php?id=70858&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70858&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70858&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70858&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70858&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70858&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70858&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70858&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70858&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70858&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70858&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70858&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70858&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70858&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70858&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70858&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70858&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70858&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70858&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70858&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70858&r=mysqlcfg