Bug #70838 [Opn->Csd]: DateTimeZone::listIdentifiers() ignores parameter $country

From: Date: Tue, 03 Nov 2015 09:32:43 +0000
Subject: Bug #70838 [Opn->Csd]: DateTimeZone::listIdentifiers() ignores parameter $country
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196991@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70838&edit=1

 ID:                 70838
 User updated by:    serhiy dot shkolyarenko at gmail dot com
 Reported by:        serhiy dot shkolyarenko at gmail dot com
 Summary:            DateTimeZone::listIdentifiers() ignores parameter
                     $country
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Date/time related
 Operating System:   any
 PHP Version:        5.6.15
 Block user comment: N
 Private report:     N

 New Comment:

Closed, NOT A BUG
DateTimeZone::PER_COUNTRY should be used


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

Description:
------------
DateTimeZone::listIdentifiers() ignores second parameter.
Attached script shows cities for the whole Europe, but not for Ukraine only.
Checked for PHP versions 5.6.11 and 7.0.0-RC6.


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



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



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


Thread (4 messages)

« previous php.bugs (#196991) next »