note 77795 added to function.setlocale

From: Date: Thu, 13 Sep 2007 09:33:57 +0000
Subject: note 77795 added to function.setlocale
Groups: php.notes 
Request: Send a blank email to php-notes+get-130453@lists.php.net to get a copy of this message
In *some* Windows systems, setting LC_TIME only will not work, you must either set LC_ALL or both LC_CTYPE and LC_TIME. BUT if you have already set LC_TIME using setlocale earlier in the script, dates will not be affected! For example: <?php setlocale(LC_TIME, 'greek'); setlocale(LC_CTYPE, 'greek'); ?> will not work, while <?php setlocale(LC_CTYPE, 'greek'); setlocale(LC_TIME, 'greek'); ?> will do the job. ---- Server IP: 147.52.159.12 Probable Submitter: 62.1.146.150 ---- Manual Page -- http://www.php.net/manual/en/function.setlocale.php Edit -- https://master.php.net/note/edit/77795 Del: integrated -- https://master.php.net/note/delete/77795/integrated Del: useless -- https://master.php.net/note/delete/77795/useless Del: bad code -- https://master.php.net/note/delete/77795/bad+code Del: spam -- https://master.php.net/note/delete/77795/spam Del: non-english -- https://master.php.net/note/delete/77795/non-english Del: in docs -- https://master.php.net/note/delete/77795/in+docs Del: other reasons-- https://master.php.net/note/delete/77795 Reject -- https://master.php.net/note/reject/77795 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130453) next »