add to fix

This commit is contained in:
liangping 2023-06-21 09:52:28 +08:00
parent 50f76ec414
commit c3cc70bd1f

View File

@ -116,7 +116,7 @@ export function formatSeconds(value?: string) {
return `${(duration / ( 24 * 60 * 60)).toFixed()} days`
}
if(duration > 60*60) {
return `${duration / (60 * 60).toFixed()} hours`
return `${(duration / (60 * 60)).toFixed()} hours`
}
if(duration > 60) {
return `${duration / 60} mins`