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'); });