]> granicus.if.org Git - php/commitdiff
- Fixed tests?
authorDerick Rethans <derick@php.net>
Tue, 27 Jan 2009 14:22:17 +0000 (14:22 +0000)
committerDerick Rethans <derick@php.net>
Tue, 27 Jan 2009 14:22:17 +0000 (14:22 +0000)
#- Wondering why those are not in HEAD though...

ext/date/tests/gmstrftime_variation22.phpt
ext/date/tests/strftime_variation22.phpt

index 2d37a414a929f3d586a5cd307510c9d6e1d5d3d6..3ae4c078b5dc41606c06bdd56c379d7e9b0c930c 100644 (file)
@@ -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
index 8ea259caf8fc01e755d30b93beb454103b769356..d824b801e91bef18bc5d9abd6ed0d50540920337 100644 (file)
@@ -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);