From 5c67d492258995ad1f87a786b25cb582d3208eef Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 6 Sep 2023 11:32:13 +0000 Subject: [PATCH] Fixed edit display threshold. --- src/Forum/ForumPostInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forum/ForumPostInfo.php b/src/Forum/ForumPostInfo.php index 416dc90..eaeea85 100644 --- a/src/Forum/ForumPostInfo.php +++ b/src/Forum/ForumPostInfo.php @@ -98,7 +98,7 @@ class ForumPostInfo { if(self::$markAsEditedThreshold === null) self::$markAsEditedThreshold = DateTime::now()->modify('-5 minutes'); - return $this->getCreatedAt()->isMoreThanOrEqual(self::$markAsEditedThreshold); + return $this->getCreatedAt()->isLessThan(self::$markAsEditedThreshold); } public function isEdited(): bool {