|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-06-13 14:59 UTC] mazzanet@php.net
-Type: Documentation Problem
+Type: Bug
[2014-06-13 14:59 UTC] mazzanet@php.net
[2014-06-13 17:13 UTC] aharvey@php.net
-Status: Open
+Status: Not a bug
-Package: Date/time related
+Package: I18N and L10N related
[2014-06-13 17:13 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 16:00:01 2025 UTC |
Description: ------------ My PHP version is actualy 5.5.12 (not 5.5.13, but I wasn't able to select this version on the list). It seems that some timezone (at least Antarctica/Troll) are not working with the datefmt_create function. Test script: --------------- $fmt = datefmt_create('en_UK', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Antarctica/Troll', IntlDateFormatter::GREGORIAN, 'Y-MM-dd HH:mm:ss'); var_dump($fmt); Expected result: ---------------- something like object(IntlDateFormatter)#xx (0) { } Actual result: -------------- null