Skip to content

Commit a0ae7e5

Browse files
committed
en_US locale preferred output has AM/PM and also the timezone
1 parent 17c6188 commit a0ae7e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/date/tests/gmstrftime_variation22.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ foreach($inputs as $key =>$value) {
4646

4747
--Preferred date and time representation--
4848
string(2) "%c"
49-
string(24) "Fri Aug 8 08:08:08 2008"
49+
string(31) "Fri 08 Aug 2008 08:08:08 AM GMT"
5050

5151
--Preferred date representation--
5252
string(2) "%x"
5353
string(10) "08/08/2008"
5454

5555
--Preferred time representation--
5656
string(2) "%X"
57-
string(8) "08:08:08"
57+
string(11) "08:08:08 AM"
5858
===DONE===

ext/date/tests/strftime_variation22.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ foreach($inputs as $key =>$value) {
4646

4747
--Preferred date and time representation--
4848
string(2) "%c"
49-
string(24) "Fri Aug 8 08:08:08 2008"
49+
string(31) "Fri 08 Aug 2008 08:08:08 AM IST"
5050

5151
--Preferred date representation--
5252
string(2) "%x"
5353
string(10) "08/08/2008"
5454

5555
--Preferred time representation--
5656
string(2) "%X"
57-
string(8) "08:08:08"
57+
string(11) "08:08:08 AM"
5858
===DONE===

0 commit comments

Comments
 (0)