Skip to content

Commit

Permalink
Update src/date.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Benedikt Franke <[email protected]>
  • Loading branch information
Ralf77 and spawnia authored Feb 5, 2024
1 parent ce21d94 commit 28a12b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/date.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('formatGermanDateTime', () => {
});

describe('isValidGermanDate', () => {
it('should determine if a string matches the german date format dd.mm.yyyy', () => {
it('determines if a string is a german date, day or month being one or two digits and year four digits, separated by dots', () => {
expect(isValidGermanDate('01.01.2000')).toEqual(true);
expect(isValidGermanDate('1.1.2000')).toEqual(true);
expect(isValidGermanDate('1.01.2000')).toEqual(true);
Expand Down

0 comments on commit 28a12b7

Please sign in to comment.