Skip to content

Commit

Permalink
fix(admin-ui): Fixes the locale-date.pipe spec for 24 hours format
Browse files Browse the repository at this point in the history
  • Loading branch information
William Rijksen committed Jul 25, 2024
1 parent 29ff531 commit d5ee690
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ describe('LocaleDatePipe', () => {

it('medium format German', () => {
const pipe = new LocaleDatePipe();
expect(pipe.transform(testDate, 'medium', LanguageCode.de)).toBe('12. Jan. 2021, 9:12:42 AM');
expect(pipe.transform(testDate, 'medium', LanguageCode.de)).toBe('12. Jan. 2021, 09:12:42');
});

it('medium format Chinese', () => {
const pipe = new LocaleDatePipe();
expect(pipe.transform(testDate, 'medium', LanguageCode.zh)).toBe('2021年1月12日 上午9:12:42');
expect(pipe.transform(testDate, 'medium', LanguageCode.zh)).toBe('2021年1月12日 09:12:42');
});
});

0 comments on commit d5ee690

Please sign in to comment.