|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-01-01 03:46 UTC] hanskrentel at yahoo dot de
[2012-05-14 14:11 UTC] hanskrentel at yahoo dot de
[2012-12-20 14:58 UTC] cataphract@php.net
-Status: Open
+Status: Not a bug
[2012-12-20 14:58 UTC] cataphract@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 11:00:01 2025 UTC |
Description: ------------ In every other locale other than Swedish, NumberFormatter works for ordinals. In Swedish, it emits an odd string. Reproduce code: --------------- $fnf = new NumberFormatter('sv_FI', NumberFormatter::ORDINAL); echo $fnf->format(1); $snf = new NumberFormatter('sv_SE', NumberFormatter::ORDINAL); echo $snf->format(1); Expected result: ---------------- 1st or the Swedish equivalent. Actual result: -------------- 1:e%digits-ordinal-neutre:0: 1:a