|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-06 14:38 UTC] iliaa@php.net
[2004-03-11 09:54 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 19:00:01 2025 UTC |
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', 'de_DE@euro', 'de', 'ge', 'german'); strftime("%A, %d.%B."); <---------- Output: German_Germany.1252 Donnerstag, 26.Februar Works. bar.php ----------> echo setlocale (LC_ALL, array('de_DE', 'de_DE@euro', 'de', 'ge', 'german'); <--------- foo2.php ----------> require('bar.php'); strftime("%A, %d.%m."); <--------- Output: German_Germany.1252 Thursday, 26.February Doesn't Work.