|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-02-27 13:51 UTC] drtzack at gmail dot com
-Status: Open
+Status: Closed
[2015-02-27 13:51 UTC] drtzack at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 10:00:02 2025 UTC |
Description: ------------ PHP Version 5.5.9-1ubuntu4.5 Everytime when I refresh the page it shows different result. Generally Friday 22 December 1978 and sometimes Cuma 22 Şubat 1978 But it's okay when I set tr_TR instead of tr_TR.UTF-8 But this time result is not UTF8 formatted. Test script: --------------- echo setlocale(LC_ALL, 'tr_TR.UTF-8'); echo strftime("%A %d %B %Y", mktime(0, 0, 0, 12, 22, 1978)); exit(0); Expected result: ---------------- Cuma 22 Şubat 1978 Actual result: -------------- Friday 22 December 1978