1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-30 18:37:03 +00:00

fix(web): HTML::relative_time_str

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

@ -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;
}
}