summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2009-01-27 14:22:17 +0000
committerDerick Rethans <derick@php.net>2009-01-27 14:22:17 +0000
commit4ca3fa71203b286c8af5edab9f11bb28c6705488 (patch)
tree8f29ba14d566de06b83a4523cd24ea845d143457
parent8e11f40093a82839ac318107a1e5003a8f16dd08 (diff)
downloadphp-git-4ca3fa71203b286c8af5edab9f11bb28c6705488.tar.gz
- Fixed tests?
#- Wondering why those are not in HEAD though...
-rw-r--r--ext/date/tests/gmstrftime_variation22.phpt2
-rw-r--r--ext/date/tests/strftime_variation22.phpt2
2 files changed, 2 insertions, 2 deletions
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);