ID:               27414
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rmarth at firemail dot de
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         *Languages/Translation
 Operating System: Win2k SP4
 PHP Version:      4.3.5RC3
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2004-03-06 14:38:11] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Cannot reproduce on Linux. 

------------------------------------------------------------------------

[2004-02-27 04:47:45] rmarth at firemail dot de

Description:
------------
Calling setlocale() in an included file doesn't change the format of
strftime().



System: Apache/1.3.29 (Win32) PHP/4.3.5RC3





Short Testcase:



foo1.php

---------->

echo setlocale (LC_ALL, array('de_DE', '[EMAIL PROTECTED]', 'de', 'ge',
'german');

strftime("%A, %d.%B.");

<----------



Output: German_Germany.1252

Donnerstag, 26.Februar



Works.





bar.php

---------->

echo setlocale (LC_ALL, array('de_DE', '[EMAIL PROTECTED]', 'de', 'ge',
'german');

<---------



foo2.php

---------->

require('bar.php');

strftime("%A, %d.%m.");

<---------



Output: German_Germany.1252

Thursday, 26.February



Doesn't Work.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27414&edit=1

Reply via email to