Fix strutil.secondsToTime().

This commit is contained in:
aforge
2023-02-06 22:35:48 -08:00
parent 111b9d8641
commit fbdd017d38
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -3331,7 +3331,7 @@ function secondsToTime(seconds, fixedMin) {
return '';
}
let min = (Math.floor(seconds / 60) | 0) % 60;
let hours = Math.floor(seconds / 36000) | 0;
let hours = Math.floor(seconds / 3600) | 0;
if (fixedMin || hours > 0) {
min = min < 10 ? `0${min}` : min;
}