mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
Update msToTime.js
This commit is contained in:
parent
5351d74226
commit
b776997c38
@ -10,7 +10,6 @@ module.exports = function msToTime(duration, format) {
|
||||
seconds = (seconds < 10) ? "0" + seconds : seconds;
|
||||
|
||||
if (format === "hh:mm:ss") {
|
||||
console.log(format)
|
||||
return `${hours}:${minutes}:${seconds}`;
|
||||
} else if (format === "dd:hh:mm:ss") {
|
||||
return `${days}:${hours}:${minutes}:${seconds}`;
|
||||
|
Loading…
Reference in New Issue
Block a user