From 23dbefdb7bf328587200a1642bd69efd55474619 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 20 May 2022 13:11:01 +0100 Subject: [PATCH] Fixed bug #51934 (strtotime plurals / incorrect time) --- NEWS | 1 + ext/date/tests/bug51934.phpt | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 ext/date/tests/bug51934.phpt diff --git a/NEWS b/NEWS index 6466199613b..480eb226060 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,7 @@ PHP NEWS . Fixed bug GH-8575 (CLI closes standard streams too early). (Levi Morrison) - Date: + . Fixed bug #51934 (strtotime plurals / incorrect time). (Derick) . Fixed bug #66019 (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH) (cmb, Derick) . Fixed bug #68549 (Timezones and offsets are not properly used when working diff --git a/ext/date/tests/bug51934.phpt b/ext/date/tests/bug51934.phpt new file mode 100644 index 00000000000..50b63d038f5 --- /dev/null +++ b/ext/date/tests/bug51934.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #51934 (strtotime plurals / incorrect time) +--FILE-- + +--EXPECTF-- +2010-05-02 19:18:00 +2010-05-02 19:18:00