diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 4a05efd08..f4c224694 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -131,7 +131,7 @@ export class Home extends React.Component, IHomeState> { ? (moment(b).isValid() ? (moment(a).isBefore(b) ? -1 : 1) : 1) : -1, Cell: (cell: any) =>
{moment(cell.value).isValid() - ? moment(cell.value).fromNow() + ? moment(cell.value).format("l") : "N/A"}
, style: { whiteSpace: "inherit" }, width: 100, diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index 738a533a1..9f5a77dfc 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -142,7 +142,7 @@ function DiscontinuedDate(props: any) { function UpdatedDate(props: any) { return props.date ?
  • -

    Last Updated: {moment(props.date).isValid() ? moment(props.date).fromNow() : "N/A"}

    +

    Last Updated: {moment(props.date).isValid() ? moment(props.date).format("l") : "N/A"}

  • : null; }