Fix strutil.secondsToTime().

This commit is contained in:
aforge
2023-02-16 13:26:55 -08:00
committed by or-else
parent 4be09a034e
commit 87b48cd67d
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3330,7 +3330,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;
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long