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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 07:05:46 2022 UTC