Commit 4824c0ff authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'fix-transient-datefix-spec' into 'master'

Fix transient error in pikadayToString

Closes #40858

See merge request gitlab-org/gitlab-ce!15754
parents 7838317a c4c06a33
......@@ -21,7 +21,7 @@ describe('datefix', () => {
describe('pikadayToString', () => {
it('should format a UTC date into yyyy-mm-dd format', () => {
expect(pikadayToString(new Date('2020-01-29'))).toEqual('2020-01-29');
expect(pikadayToString(new Date('2020-01-29:00:00'))).toEqual('2020-01-29');
});
});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment