diff --git a/src/core/client/admin/App/DecisionHistory/Timestamp.tsx b/src/core/client/admin/App/DecisionHistory/Timestamp.tsx index a476021e8..84c591b29 100644 --- a/src/core/client/admin/App/DecisionHistory/Timestamp.tsx +++ b/src/core/client/admin/App/DecisionHistory/Timestamp.tsx @@ -1,6 +1,6 @@ import React, { FunctionComponent } from "react"; -import { RelativeTime } from "coral-ui/components/v2"; +import { Timestamp } from "coral-ui/components/v2"; import styles from "./Timestamp.css"; @@ -9,7 +9,7 @@ interface Props { } const DecisionHistory: FunctionComponent = props => ( - + {props.children} ); export default DecisionHistory; diff --git a/src/core/client/admin/App/DecisionHistory/__snapshots__/Timestamp.spec.tsx.snap b/src/core/client/admin/App/DecisionHistory/__snapshots__/Timestamp.spec.tsx.snap index a84215cf6..27526e38b 100644 --- a/src/core/client/admin/App/DecisionHistory/__snapshots__/Timestamp.spec.tsx.snap +++ b/src/core/client/admin/App/DecisionHistory/__snapshots__/Timestamp.spec.tsx.snap @@ -1,8 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders correctly 1`] = ` - + toggleAbsolute={true} +> + 2018-07-06T18:24:00.000Z + `; diff --git a/src/core/client/admin/test/decisionHistory/__snapshots__/decisionHistory.spec.tsx.snap b/src/core/client/admin/test/decisionHistory/__snapshots__/decisionHistory.spec.tsx.snap index 0b7739e28..65f5c9625 100644 --- a/src/core/client/admin/test/decisionHistory/__snapshots__/decisionHistory.spec.tsx.snap +++ b/src/core/client/admin/test/decisionHistory/__snapshots__/decisionHistory.spec.tsx.snap @@ -55,13 +55,24 @@ exports[`loads more 1`] = `
- + +
@@ -117,13 +128,24 @@ exports[`loads more 1`] = `
- + +
@@ -179,13 +201,24 @@ exports[`loads more 1`] = `
- + +
@@ -300,13 +333,24 @@ exports[`render popover content 1`] = `
- + +
@@ -362,13 +406,24 @@ exports[`render popover content 1`] = `
- + +