Skip to content

Commit d85016a

Browse files
committed
Datepicker: Fix test for French locale
Ref #10651
1 parent 02c37d3 commit d85016a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/datepicker/datepicker_options.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ test("parseDate", function() {
947947
fr = $.datepicker.regional.fr;
948948
settings = {dayNamesShort: fr.dayNamesShort, dayNames: fr.dayNames,
949949
monthNamesShort: fr.monthNamesShort, monthNames: fr.monthNames};
950-
TestHelpers.datepicker.equalsDate($.datepicker.parseDate("D d M y", "Lun. 9 Avril 01", settings),
950+
TestHelpers.datepicker.equalsDate($.datepicker.parseDate("D d M y", "Lun. 9 avr. 01", settings),
951951
new Date(2001, 4 - 1, 9), "Parse date D M y with settings");
952952
TestHelpers.datepicker.equalsDate($.datepicker.parseDate("d MM DD yy", "9 Avril Lundi 2001", settings),
953953
new Date(2001, 4 - 1, 9), "Parse date d MM DD yy with settings");
@@ -1069,7 +1069,7 @@ test("formatDate", function() {
10691069
settings = {dayNamesShort: fr.dayNamesShort, dayNames: fr.dayNames,
10701070
monthNamesShort: fr.monthNamesShort, monthNames: fr.monthNames};
10711071
equal($.datepicker.formatDate("D M y", new Date(2001, 4 - 1, 9), settings),
1072-
"lun. avril 01", "Format date D M y with settings");
1072+
"lun. avr. 01", "Format date D M y with settings");
10731073
equal($.datepicker.formatDate("DD MM yy", new Date(2001, 4 - 1, 9), settings),
10741074
"lundi avril 2001", "Format date DD MM yy with settings");
10751075
equal($.datepicker.formatDate("DD, MM d, yy", new Date(2001, 4 - 1, 9), settings),

0 commit comments

Comments
 (0)