ID: 40819
User updated by: matthijs at 1key dot nl
Reported By: matthijs at 1key dot nl
Status: Bogus
Bug Type: Date/time related
Operating System: Windows Server 2003 R2 Standard
PHP Version: 5.2.1
New Comment:
I am using Apache 2 not IIS..
Previous Comments:
------------------------------------------------------------------------
[2007-03-15 12:34:29] [EMAIL PROTECTED]
If you're using ISAPI, note that setlocale() is not thread safe.
------------------------------------------------------------------------
[2007-03-15 11:33:59] matthijs at 1key dot nl
Description:
------------
On top of my script I inserted setlocale(LC_ALL, 'nld_NLD'); Sometimes
it displays the local date using strftime and sometimes the english
date. I cannot find any patern, it seems to happen randomly.
Reproduce code:
---------------
setlocale(LC_ALL, 'nld_NLD');
echo strftime('%A %d %B %Y om %H:%M', date());
Expected result:
----------------
donderdag 08 maart 2007 om 08:25
Actual result:
--------------
Thursday 08 March 2007 om 08:25
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40819&edit=1