diff options
Diffstat (limited to 'modern/src/common/util/formatter.js')
-rw-r--r-- | modern/src/common/util/formatter.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modern/src/common/util/formatter.js b/modern/src/common/util/formatter.js index aeacc145..7b7fc96d 100644 --- a/modern/src/common/util/formatter.js +++ b/modern/src/common/util/formatter.js @@ -66,8 +66,6 @@ export const formatSpeed = (value, unit, t) => `${speedFromKnots(value, unit).to export const formatVolume = (value, unit, t) => `${volumeFromLiters(value, unit).toFixed(2)} ${volumeUnitString(unit, t)}`; -export const formatHours = (value) => dayjs.duration(value).humanize(); - export const formatNumericHours = (value, t) => { const hours = Math.floor(value / 3600000); const minutes = Math.floor((value % 3600000) / 60000); |