diff options
Diffstat (limited to 'utils/numberUtils.js')
-rw-r--r-- | utils/numberUtils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/numberUtils.js b/utils/numberUtils.js index 3b1dc70..b701c21 100644 --- a/utils/numberUtils.js +++ b/utils/numberUtils.js @@ -87,7 +87,7 @@ let utils = { timeNumber: (time, secondDecimals = 0) => { let mins = Math.floor(time / 1000 / 60) let secs = (time / 1000) % 60 - + if (mins === 0) return `${secs.toFixed(secondDecimals)}s` else return `${mins}m ${secs.toFixed(secondDecimals)}s` }, |