diff --git a/src/core/client/ui/components/RelativeTime/RelativeTime.spec.tsx b/src/core/client/ui/components/RelativeTime/RelativeTime.spec.tsx index 4ea476503..92d0c547d 100644 --- a/src/core/client/ui/components/RelativeTime/RelativeTime.spec.tsx +++ b/src/core/client/ui/components/RelativeTime/RelativeTime.spec.tsx @@ -8,7 +8,7 @@ import RelativeTime from "./RelativeTime"; it("uses default formatter", () => { const props = { - date: "2018-12-17T03:24:00", + date: "2018-12-17T03:24:00.000Z", }; const tree = create().toJSON(); diff --git a/src/core/client/ui/components/RelativeTime/__snapshots__/RelativeTime.spec.tsx.snap b/src/core/client/ui/components/RelativeTime/__snapshots__/RelativeTime.spec.tsx.snap index 0460b4b56..6d9388e87 100644 --- a/src/core/client/ui/components/RelativeTime/__snapshots__/RelativeTime.spec.tsx.snap +++ b/src/core/client/ui/components/RelativeTime/__snapshots__/RelativeTime.spec.tsx.snap @@ -3,10 +3,10 @@ exports[`uses default formatter 1`] = ` `;