(fix): long time format (pr #35) #36

Merged
alekswilc merged 1 commits from dev into main 2024-08-26 19:33:34 +02:00

View File

@ -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})`;
} }