ID: 27414 Updated by: [EMAIL PROTECTED] Reported By: rmarth at firemail dot de -Status: Open +Status: Feedback Bug Type: *Languages/Translation Operating System: Win2k SP4 PHP Version: 4.3.5RC3 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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