Skip to content

Commit

Permalink
Remove date formating in Surveys Report
Browse files Browse the repository at this point in the history
  • Loading branch information
echaidemenos committed Dec 14, 2023
1 parent 6c99a68 commit a143e6d
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BodyCell, HeadCell } from 'common/MonitoringTable';
import { DateTime } from 'luxon';
import React from 'react';
import monitoringServices, {
GetSurveysReportResponse,
Expand All @@ -23,11 +22,7 @@ const headCells: HeadCell<TableData>[] = [
const bodyCells: BodyCell<TableData>[] = [
{ id: 'siteId', linkTo: (row) => `/sites/${encodeURIComponent(row.siteId)}` },
{ id: 'siteName' },
{
id: 'diveDate',
format: (row) =>
DateTime.fromISO(row.diveDate).toFormat('yyyy-MM-dd HH:mm:ss'),
},
{ id: 'diveDate' },
{
id: 'surveyId',
linkTo: (row) =>
Expand Down

0 comments on commit a143e6d

Please sign in to comment.