Skip to content

Commit

Permalink
Fix bug-gh11600.phpt to work with different ICU versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos committed Jul 12, 2023
1 parent 3552a1b commit 9c47f33
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ext/date/tests/bug-gh11600.phpt
@@ -1,5 +1,7 @@
--TEST--
Bug GH-11600: Intl patterns are not parseable DateTime Strings
--EXTENSIONS--
intl
--INI--
date.timezone=UTC
--FILE--
Expand All @@ -14,6 +16,6 @@ $timestamp = strtotime($timeString);
var_dump($pattern, $timeString, $timestamp);
?>
--EXPECTF--
string(8) "h:mm a"
string(9) "4:02 PM"
string(%d) "h:mm%sa"
string(%d) "4:02%sPM"
int(1689091320)

0 comments on commit 9c47f33

Please sign in to comment.