[PHP-CVS] cvs: php-src(PHP_5_3) /ext/date/tests gmstrftime_variation22.phpt

2009-06-25 Thread Zoe Slattery
zoe Thu Jun 25 14:44:01 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/date/tests gmstrftime_variation22.phpt 
  Log:
  fix skipif
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/gmstrftime_variation22.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/date/tests/gmstrftime_variation22.phpt
diff -u php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.3 
php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.4
--- php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.3  Tue Jan 27 
14:22:17 2009
+++ php-src/ext/date/tests/gmstrftime_variation22.phpt  Thu Jun 25 14:44:01 2009
@@ -5,6 +5,9 @@
 if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
 die("skip Test is not valid for Windows");
 }
+if (!setlocale(LC_ALL, "en_US.utf8", "en_US")) {
+die("skip Locale en_US or en_US.utf8 is required to run this test");
+}
 ?>
 --FILE--
 http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/date/tests gmstrftime_variation22.phpt strftime_variation22.phpt

2009-01-27 Thread Sanjay Mantoor
Derick,

It looks some problem. I will look into it and update you.

Thanks,
Sanjay Mantoor

On Tue, Jan 27, 2009 at 7:52 PM, Derick Rethans  wrote:
> derick  Tue Jan 27 14:22:18 2009 UTC
>
>  Modified files:  (Branch: PHP_5_3)
>/php-src/ext/date/tests gmstrftime_variation22.phpt
>strftime_variation22.phpt
>  Log:
>  - Fixed tests?
>  #- Wondering why those are not in HEAD though...
>
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/gmstrftime_variation22.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
> Index: php-src/ext/date/tests/gmstrftime_variation22.phpt
> diff -u php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.2 
> php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.3
> --- php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.2  Thu Jan 22 
> 18:47:20 2009
> +++ php-src/ext/date/tests/gmstrftime_variation22.phpt  Tue Jan 27 14:22:17 
> 2009
> @@ -18,7 +18,7 @@
>
>  // 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
> http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/strftime_variation22.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
> Index: php-src/ext/date/tests/strftime_variation22.phpt
> diff -u php-src/ext/date/tests/strftime_variation22.phpt:1.1.2.2 
> php-src/ext/date/tests/strftime_variation22.phpt:1.1.2.3
> --- php-src/ext/date/tests/strftime_variation22.phpt:1.1.2.2Wed Jan 21 
> 10:51:04 2009
> +++ php-src/ext/date/tests/strftime_variation22.phptTue Jan 27 14:22:17 
> 2009
> @@ -17,7 +17,7 @@
>  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);
>
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
Thanks,
Sanjay Mantoor

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/date/tests gmstrftime_variation22.phpt strftime_variation22.phpt

2009-01-27 Thread Derick Rethans
derick  Tue Jan 27 14:22:18 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/date/tests gmstrftime_variation22.phpt 
strftime_variation22.phpt 
  Log:
  - Fixed tests?
  #- Wondering why those are not in HEAD though...
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/gmstrftime_variation22.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/date/tests/gmstrftime_variation22.phpt
diff -u php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.2 
php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.3
--- php-src/ext/date/tests/gmstrftime_variation22.phpt:1.1.4.2  Thu Jan 22 
18:47:20 2009
+++ php-src/ext/date/tests/gmstrftime_variation22.phpt  Tue Jan 27 14:22:17 2009
@@ -18,7 +18,7 @@
 
 // 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
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/strftime_variation22.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/date/tests/strftime_variation22.phpt
diff -u php-src/ext/date/tests/strftime_variation22.phpt:1.1.2.2 
php-src/ext/date/tests/strftime_variation22.phpt:1.1.2.3
--- php-src/ext/date/tests/strftime_variation22.phpt:1.1.2.2Wed Jan 21 
10:51:04 2009
+++ php-src/ext/date/tests/strftime_variation22.phptTue Jan 27 14:22:17 2009
@@ -17,7 +17,7 @@
 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);
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php