]> granicus.if.org Git - php/commitdiff
en_US locale preferred output has AM/PM and also the timezone
authorRasmus Lerdorf <rasmus@php.net>
Sat, 14 May 2011 17:51:38 +0000 (17:51 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 14 May 2011 17:51:38 +0000 (17:51 +0000)
ext/date/tests/gmstrftime_variation22.phpt
ext/date/tests/strftime_variation22.phpt

index c8f51fc8958c8e0c94832e35137b6861833eea7b..198941871c5818d606ba1cf9b1b6fc05e639c13d 100644 (file)
@@ -46,7 +46,7 @@ foreach($inputs as $key =>$value) {
 
 --Preferred date and time representation--
 string(2) "%c"
-string(24) "Fri Aug  8 08:08:08 2008"
+string(31) "Fri 08 Aug 2008 08:08:08 AM GMT"
 
 --Preferred date representation--
 string(2) "%x"
@@ -54,5 +54,5 @@ string(10) "08/08/2008"
 
 --Preferred time representation--
 string(2) "%X"
-string(8) "08:08:08"
+string(11) "08:08:08 AM"
 ===DONE===
index bd672b417a5e9c2a3525c020816924a5fa3876a1..151a7d20673a6e578198443d7d6a99de3e79a0f4 100644 (file)
@@ -46,7 +46,7 @@ foreach($inputs as $key =>$value) {
 
 --Preferred date and time representation--
 string(2) "%c"
-string(24) "Fri Aug  8 08:08:08 2008"
+string(31) "Fri 08 Aug 2008 08:08:08 AM IST"
 
 --Preferred date representation--
 string(2) "%x"
@@ -54,5 +54,5 @@ string(10) "08/08/2008"
 
 --Preferred time representation--
 string(2) "%X"
-string(8) "08:08:08"
+string(11) "08:08:08 AM"
 ===DONE===