From: Derick Rethans Date: Tue, 27 Jan 2009 14:22:17 +0000 (+0000) Subject: - Fixed tests? X-Git-Tag: php-5.3.0beta1~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ca3fa71203b286c8af5edab9f11bb28c6705488;p=php - Fixed tests? #- Wondering why those are not in HEAD though... --- diff --git a/ext/date/tests/gmstrftime_variation22.phpt b/ext/date/tests/gmstrftime_variation22.phpt index 2d37a414a9..3ae4c078b5 100644 --- a/ext/date/tests/gmstrftime_variation22.phpt +++ b/ext/date/tests/gmstrftime_variation22.phpt @@ -18,7 +18,7 @@ echo "*** Testing gmstrftime() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) $timestamp = gmmktime(8, 8, 8, 8, 8, 2008); -setlocale(LC_ALL, "en_US"); +setlocale(LC_ALL, "en_US.utf8", "en_US"); date_default_timezone_set("Asia/Calcutta"); //array of values to iterate over diff --git a/ext/date/tests/strftime_variation22.phpt b/ext/date/tests/strftime_variation22.phpt index 8ea259caf8..d824b801e9 100644 --- a/ext/date/tests/strftime_variation22.phpt +++ b/ext/date/tests/strftime_variation22.phpt @@ -17,7 +17,7 @@ if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { echo "*** Testing strftime() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) -setlocale(LC_ALL, "en_US"); +setlocale(LC_ALL, "en_US.utf8", "en_US"); date_default_timezone_set("Asia/Calcutta"); $timestamp = mktime(8, 8, 8, 8, 8, 2008);