We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65ff764 + 5722983 commit 0250468Copy full SHA for 0250468
ext/date/tests/bug-gh11600.phpt
@@ -1,6 +1,5 @@
1
--TEST--
2
Bug GH-11600: Intl patterns are not parseable DateTime Strings
3
---XFAIL--
4
--EXTENSIONS--
5
intl
6
--INI--
@@ -12,7 +11,7 @@ $pattern = $formatter->getPattern();
12
11
13
$timeString = $formatter->format(strtotime('2023-07-11 16:02'));
14
15
-$timestamp = strtotime($timeString);
+$timestamp = strtotime("2023-07-11 {$timeString}");
16
17
var_dump($pattern, $timeString, $timestamp);
18
?>
0 commit comments