diff options
Diffstat (limited to 'modern/src/reports/StopReportPage.jsx')
-rw-r--r-- | modern/src/reports/StopReportPage.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/reports/StopReportPage.jsx b/modern/src/reports/StopReportPage.jsx index 3a6ee18d..066b29a4 100644 --- a/modern/src/reports/StopReportPage.jsx +++ b/modern/src/reports/StopReportPage.jsx @@ -7,7 +7,7 @@ import { import GpsFixedIcon from '@mui/icons-material/GpsFixed'; import LocationSearchingIcon from '@mui/icons-material/LocationSearching'; import { - formatDistance, formatHours, formatVolume, formatTime, + formatDistance, formatVolume, formatTime, formatNumericHours, } from '../common/util/formatter'; import ReportFilter from './components/ReportFilter'; import { useAttributePreference, usePreference } from '../common/util/preferences'; @@ -95,9 +95,9 @@ const StopReportPage = () => { case 'startOdometer': return formatDistance(item[key], distanceUnit, t); case 'duration': - return formatHours(item[key]); + return formatNumericHours(item[key], t); case 'engineHours': - return formatHours(item[key]); + return formatNumericHours(item[key], t); case 'spentFuel': return formatVolume(item[key], volumeUnit, t); case 'address': |