From 57229836d43d7a0bc597e36ddc3d3324ad7fcb6a Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Wed, 12 Jul 2023 14:54:56 +0200 Subject: [PATCH] Fix bug-gh11600.phpt --- ext/date/tests/bug-gh11600.phpt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/date/tests/bug-gh11600.phpt b/ext/date/tests/bug-gh11600.phpt index 4d4fa373fbc..668973629b4 100644 --- a/ext/date/tests/bug-gh11600.phpt +++ b/ext/date/tests/bug-gh11600.phpt @@ -1,6 +1,5 @@ --TEST-- Bug GH-11600: Intl patterns are not parseable DateTime Strings ---XFAIL-- --EXTENSIONS-- intl --INI-- @@ -12,7 +11,7 @@ $pattern = $formatter->getPattern(); $timeString = $formatter->format(strtotime('2023-07-11 16:02')); -$timestamp = strtotime($timeString); +$timestamp = strtotime("2023-07-11 {$timeString}"); var_dump($pattern, $timeString, $timestamp); ?>