From 2e29bb48fa207bdddcb3a441e1744b4c663c712b Mon Sep 17 00:00:00 2001 From: rxu Date: Tue, 20 Jul 2021 20:59:28 +0700 Subject: [PATCH] [ticket/16823] Adjust wrapper condition PHPBB3-16823 --- phpBB/phpbb/datetime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/datetime.php b/phpBB/phpbb/datetime.php index 7384eeabbd..e171ac2dd1 100644 --- a/phpBB/phpbb/datetime.php +++ b/phpBB/phpbb/datetime.php @@ -97,7 +97,7 @@ class datetime extends \DateTime $midnight = $midnight->getTimestamp(); - if ($timestamp <= $midnight + 2 * 86400) + if ($timestamp < $midnight + 2 * 86400) { $day = false;