Reviewed-on: alekswilc/simrail-logs#36 Reviewed-by: Aleksander Wilczyński <aleks@alekswilc.dev>
This commit is contained in:
commit
37226f5d77
@ -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