Bug #70840 [Com]: timezone_identifiers_list() shows wrong city names for Ukraine

From: Date: Thu, 05 Nov 2015 19:35:45 +0000
Subject: Bug #70840 [Com]: timezone_identifiers_list() shows wrong city names for Ukraine
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197056@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70840&edit=1

 ID:                 70840
 Comment by:         marcosptf at yahoo dot com dot br
 Reported by:        serhiy dot shkolyarenko at gmail dot com
 Summary:            timezone_identifiers_list() shows wrong city names
                     for Ukraine
 Status:             Open
 Type:               Bug
 Package:            Date/time related
 Operating System:   any
 PHP Version:        7.0.0RC6
 Block user comment: N
 Private report:     N

 New Comment:

hello to everyone!

i've trying to resolve this bug, i did a PR to github, i don't know if correct, but to my
mind this is way and i did first in my computer before commit.

let's waint someone answer the PR to see, whats the next steps!


Previous Comments:
------------------------------------------------------------------------
[2015-11-02 16:52:32] serhiy dot shkolyarenko at gmail dot com

Description:
------------
Method DateTimeZone::listIdentifiers(DateTimeZone::EUROPE, 'UA') shows Ukrainian cities
transliterated from russian, not from ukrainian, so it doesn't correspond official names.

Error is spotted for Kyiv(http://www.local-life.com/kiev/articles/kiev-or-kyiv) and
Zaporizhia(https://en.wikipedia.org/wiki/Zaporizhia). Uzhgorod and Simferopol are OK because have
the same transliteration for russian and ukrainian.

Checked for PHP versions 5.6.11 and 7.0.0-RC6.

Test script:
---------------
var_dump(DateTimeZone::listIdentifiers(DateTimeZone::EUROPE, 'UA'));

Expected result:
----------------
...
Europe/Kyiv
...
Europe/Zaporizhia

Actual result:
--------------
...
Europe/Kiev
...
Europe/Zaporozhye


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=70840&edit=1


Thread (5 messages)

« previous php.bugs (#197056) next »