php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #70858 DateTimeZone::listIdentifiers() shows Europe/Simferopol in a wrong country
Submitted: 2015-11-05 09:20 UTC Modified: 2015-11-05 18:02 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: serhiy dot shkolyarenko at gmail dot com Assigned:
Status: Wont fix Package: Date/time related
PHP Version: 7.0.0RC6 OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
49 + 38 = ?
Subscribe to this entry?

 
 [2015-11-05 09:20 UTC] serhiy dot shkolyarenko at gmail dot com
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"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-05 18:02 UTC] derick@php.net
-Status: Open +Status: Wont fix -Type: Bug +Type: Feature/Change Request
 [2015-11-05 18:02 UTC] derick@php.net
We use the exact same classification as the IANA timezone database project and do not get involved with politics, or diverge names from upstream. If you want this changed, please take this up with the IANA timezone database maintainers: https://www.iana.org/time-zones (specifically, the mailinglist).
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 08:05:45 2022 UTC