diff options
Diffstat (limited to 'modern/src/reports/StopReportPage.js')
-rw-r--r-- | modern/src/reports/StopReportPage.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/reports/StopReportPage.js b/modern/src/reports/StopReportPage.js index aa668d5..f84b7e6 100644 --- a/modern/src/reports/StopReportPage.js +++ b/modern/src/reports/StopReportPage.js @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import { DataGrid } from '@material-ui/data-grid'; import { useTheme } from '@material-ui/core/styles'; import { - formatDistance, formatHours, formatDate, formatVolume, + formatDistance, formatHours, formatDate, formatVolume, formatPosition, } from '../common/formatter'; import ReportFilter from './ReportFilter'; import ReportLayout from './ReportLayout'; @@ -68,13 +68,13 @@ const StopReportPage = () => { field: 'duration', type: 'string', width: theme.dimensions.columnWidthString, - valueFormatter: ({ value }) => formatHours(value), + valueFormatter: ({ value }) => formatHours(value, t), }, { headerName: t('reportEngineHours'), field: 'engineHours', type: 'string', width: theme.dimensions.columnWidthString, - valueFormatter: ({ value }) => formatHours(value), + valueFormatter: ({ value }) => formatHours(value, t), }, { headerName: t('reportSpentFuel'), field: 'spentFuel', |