|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-09-02 13:49 UTC] simionea@php.net
-Assigned To:
+Assigned To: simionea
[2015-09-02 13:56 UTC] simionea@php.net
-Status: Assigned
+Status: Closed
[2015-09-02 13:56 UTC] simionea@php.net
[2015-09-02 14:03 UTC] myself at zeno dot ro
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 20:00:02 2025 UTC |
Description: ------------ There is a problem with the returned days for strftime when setting the locale to ro_RO, The affected day is "Tuesday" (marți), which is displayed as "t with cedilla bellow" (Unicode 0163). This is wrong, according to official Romanian National Standards SR 13411:1999 and SR 13392:2004 and International Standard ISO/IEC 8859-16 (Latin 10). The correct character for the Romanian (ro_RO) locale is: - "t with comma below" (Unicode 021B) Test script: --------------- <?php setlocale(LC_TIME, 'ro_RO.UTF8'); $last_tuesday = strtotime("last Tuesday"); echo strftime( "<strong>%A</strong>, %d.%m.%Y", $last_tuesday ); ?> Expected result: ---------------- marți, 04.02.2014 Actual result: -------------- marţi, 04.02.2014