diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-14 20:20:32 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-14 20:20:32 -0700 |
commit | 2eae9b6502ab06742f4de46cf7273f789d7ba786 (patch) | |
tree | a488003d8c9f5b0f5ecf45ecd489715a9171ea6d /modern/src/reports/EventReportPage.js | |
parent | 73296469de0cf1318347dcabc5cef5ad759f067b (diff) | |
download | trackermap-web-2eae9b6502ab06742f4de46cf7273f789d7ba786.tar.gz trackermap-web-2eae9b6502ab06742f4de46cf7273f789d7ba786.tar.bz2 trackermap-web-2eae9b6502ab06742f4de46cf7273f789d7ba786.zip |
Migrate trip report
Diffstat (limited to 'modern/src/reports/EventReportPage.js')
-rw-r--r-- | modern/src/reports/EventReportPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/EventReportPage.js b/modern/src/reports/EventReportPage.js index 7baf2205..076979ba 100644 --- a/modern/src/reports/EventReportPage.js +++ b/modern/src/reports/EventReportPage.js @@ -3,7 +3,7 @@ import { FormControl, InputLabel, Select, MenuItem, TableContainer, Table, TableHead, TableRow, TableCell, TableBody, } from '@material-ui/core'; import { useSelector } from 'react-redux'; -import { formatTime } from '../common/util/formatter'; +import { formatDate } from '../common/util/formatter'; import ReportFilter, { useFilterStyles } from './components/ReportFilter'; import { prefixString } from '../common/util/stringUtils'; import { useTranslation } from '../common/components/LocalizationProvider'; @@ -74,7 +74,7 @@ const EventReportPage = () => { const formatValue = (item, key) => { switch (key) { case 'eventTime': - return formatTime(item[key]); + return formatDate(item[key]); case 'type': return t(prefixString('event', item[key])); case 'geofenceId': |