From 6f2d2031520da4aa31392db921e37dde45fdc086 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 9 Jun 2018 12:42:41 -0500 Subject: [PATCH] tweak grid dates --- src/FilterLists.Web/ClientApp/components/Home.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 7548bbfd7..71ad27e56 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -100,10 +100,10 @@ export class Home extends React.Component, IHomeState> { filterMethod: (filter: any, row: any) => row[filter.id].includes(filter.value), sortMethod: (a: any, b: any) => a > b ? 1 : -1, Cell: (cell: any) =>
{moment(cell.value).isValid() - ? moment(cell.value).format("M-D-YY") + ? moment(cell.value).format(moment.HTML5_FMT.DATE) : "N/A"}
, style: { whiteSpace: "inherit" }, - width: 75, + width: 100, headerClassName: "d-none d-sm-block", className: "d-none d-sm-block" }, @@ -114,10 +114,10 @@ export class Home extends React.Component, IHomeState> { filterMethod: (filter: any, row: any) => row[filter.id].includes(filter.value), sortMethod: (a: any, b: any) => a > b ? 1 : -1, Cell: (cell: any) =>
{moment(cell.value).isValid() - ? moment(cell.value).format("M-D-YY") + ? moment(cell.value).format(moment.HTML5_FMT.DATE) : "N/A"}
, style: { whiteSpace: "inherit" }, - width: 75, + width: 100, headerClassName: "d-none d-sm-block", className: "d-none d-sm-block" },