Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 734bd6a

Browse files
JonathanGawrychwesleycho
authored andcommitted
test(datepicker): fix incorrect format used in hh test
Closes #4221
1 parent ba734b4 commit 734bd6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/dateparser/test/dateparser.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ describe('date parser', function() {
7171
it('should work correctly for `hh`', function() {
7272
expectParse('22.March.15.22', 'd.MMMM.yy.hh', undefined);
7373
expectParse('22.March.15.12', 'd.MMMM.yy.hh', new Date(2015, 2, 22, 12));
74-
expectParse('8-March-1991-11', 'd-MMMM-yyyy-HH', new Date(1991, 2, 8, 11));
74+
expectParse('8-March-1991-11', 'd-MMMM-yyyy-hh', new Date(1991, 2, 8, 11));
7575
expectParse('February/5/1980/00', 'MMMM/d/yyyy/hh', new Date(1980, 1, 5, 0));
7676
expectParse('1955/February/5 03', 'yyyy/MMMM/d hh', new Date(1955, 1, 5, 3));
7777
expectParse('11-08-13 23', 'd-MM-yy hh', undefined);

0 commit comments

Comments
 (0)