Skip to content

Commit 0250468

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Fix bug-gh11600.phpt
2 parents 65ff764 + 5722983 commit 0250468

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/date/tests/bug-gh11600.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
--TEST--
22
Bug GH-11600: Intl patterns are not parseable DateTime Strings
3-
--XFAIL--
43
--EXTENSIONS--
54
intl
65
--INI--
@@ -12,7 +11,7 @@ $pattern = $formatter->getPattern();
1211

1312
$timeString = $formatter->format(strtotime('2023-07-11 16:02'));
1413

15-
$timestamp = strtotime($timeString);
14+
$timestamp = strtotime("2023-07-11 {$timeString}");
1615

1716
var_dump($pattern, $timeString, $timestamp);
1817
?>

0 commit comments

Comments
 (0)