diff --git a/frontend/src/component/common/__tests__/util-test.jsx b/frontend/src/component/common/__tests__/util-test.jsx index 83ad202f4f..94eab6c84b 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('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'); + 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'); });