fix(web): HTML::relative_time_str
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-11-06 17:35:22 +08:00
parent 954a870ac0
commit e9a4d15dd2
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -290,7 +290,7 @@ class HTML {
case 1: // shows minutes and seconds if granularity is not set higher case 1: // shows minutes and seconds if granularity is not set higher
break; break;
} }
if ($i === $stopat) { if ($i <= $stopat) {
break; break;
} }
} }