From 61f7db603dc7210c742a761f2d5a1a15c457fc87 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Wed, 29 Nov 2017 09:26:42 +0100 Subject: [PATCH] fix tests --- frontend/src/component/common/__tests__/util-test.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/component/common/__tests__/util-test.jsx b/frontend/src/component/common/__tests__/util-test.jsx index 94eab6c84b..83ad202f4f 100644 --- a/frontend/src/component/common/__tests__/util-test.jsx +++ b/frontend/src/component/common/__tests__/util-test.jsx @@ -1,7 +1,7 @@ import { formatFullDateTime } from '../util'; test('formats dates correctly', () => { - expect(formatFullDateTime(1487861809466)).toEqual('02/23/2017, 2:56:49 PM'); - expect(formatFullDateTime(1487232809466)).toEqual('02/16/2017, 8:13:29 AM'); - expect(formatFullDateTime(1477232809466)).toEqual('10/23/2016, 2:26:49 PM'); + expect(formatFullDateTime(1487861809466)).toEqual('2017-02-23 14:56:49'); + expect(formatFullDateTime(1487232809466)).toEqual('2017-02-16 08:13:29'); + expect(formatFullDateTime(1477232809466)).toEqual('2016-10-23 14:26:49'); });