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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: serhiy dot shkolyarenko at gmail dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC