(fix): long time format (pr #35)
This commit is contained in:
parent
899ca6422b
commit
4c95d7eae5
@ -19,7 +19,7 @@ export const msToTime = (duration: number, long = false) => {
|
|||||||
if (time.minutes()) t+= `${time.minutes()}m `;
|
if (time.minutes()) t+= `${time.minutes()}m `;
|
||||||
if (time.seconds()) t+= `${time.seconds()}s`;
|
if (time.seconds()) t+= `${time.seconds()}s`;
|
||||||
|
|
||||||
return `${time.humanize} (${t})`;
|
return `${time.humanize()} (${t})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user