mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 17:48:42 +00:00
fix(web): HTML::relative_time_str
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
954a870ac0
commit
e9a4d15dd2
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user