We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56a7f77 commit 3e324a8Copy full SHA for 3e324a8
src/client/src/pages/Admin/Components/AnalysisTable.jsx
@@ -9,6 +9,7 @@ import {
9
} from "@material-ui/core";
10
import moment from "moment-timezone";
11
import _ from "lodash";
12
+import { formatTimestamp } from "../../../utils/utils";
13
14
export default function AnalysisTable(props) {
15
const { tableData, lastExecution } = props;
@@ -24,12 +25,7 @@ export default function AnalysisTable(props) {
24
25
</TableCell>
26
<TableCell align="left">
27
<b>
- {moment(
28
- lastExecution,
29
- "dddd MMMM Do h:mm:ss YYYY"
30
- )
31
- .local()
32
- .format("MMMM Do YYYY, h:mm:ss a")}
+ {formatTimestamp(lastExecution)}
33
</b>
34
35
</TableRow>
0 commit comments