From edcf7222703bef1330b0fcddd6d96c507560fd68 Mon Sep 17 00:00:00 2001 From: jonsadev Date: Mon, 21 Jan 2019 10:59:21 -0700 Subject: [PATCH] web-ui: Fix explorer-datetime.pipe.spec --- web-ui/src/app/pipes/explorer-datetime.pipe.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-ui/src/app/pipes/explorer-datetime.pipe.spec.ts b/web-ui/src/app/pipes/explorer-datetime.pipe.spec.ts index 5f33319..a3f3580 100644 --- a/web-ui/src/app/pipes/explorer-datetime.pipe.spec.ts +++ b/web-ui/src/app/pipes/explorer-datetime.pipe.spec.ts @@ -18,7 +18,7 @@ describe('ExplorerDatetimePipe', () => { it('should return the parsed date when a Date object is sent', () => { const pipe = new ExplorerDatetimePipe('en'); - const date = new Date('1990-02-25'); + const date = new Date('1990-02-24T18:00:00'); expect(pipe.transform(date)).toMatch('February 24, 1990, 6:00:00 PM'); });