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
@@ -39,7 +39,7 @@ export function secondsToTime(seconds, fixedMin) {
}
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;