Skip to content

Commit 9c47f33

Browse files
committed
Fix bug-gh11600.phpt to work with different ICU versions
1 parent 3552a1b commit 9c47f33

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ext/date/tests/bug-gh11600.phpt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug GH-11600: Intl patterns are not parseable DateTime Strings
3+
--EXTENSIONS--
4+
intl
35
--INI--
46
date.timezone=UTC
57
--FILE--
@@ -14,6 +16,6 @@ $timestamp = strtotime($timeString);
1416
var_dump($pattern, $timeString, $timestamp);
1517
?>
1618
--EXPECTF--
17-
string(8) "h:mm a"
18-
string(9) "4:02 PM"
19+
string(%d) "h:mm%sa"
20+
string(%d) "4:02%sPM"
1921
int(1689091320)

0 commit comments

Comments
 (0)