From e9a4d15dd24884157ff9534a9a9c6d1e06ee116c Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sun, 6 Nov 2022 17:35:22 +0800 Subject: [PATCH] fix(web): HTML::relative_time_str --- web/app/models/HTML.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/models/HTML.php b/web/app/models/HTML.php index c6f9518..1dc727e 100644 --- a/web/app/models/HTML.php +++ b/web/app/models/HTML.php @@ -290,7 +290,7 @@ class HTML { case 1: // shows minutes and seconds if granularity is not set higher break; } - if ($i === $stopat) { + if ($i <= $stopat) { break; } }