From: Scott González Date: Tue, 7 Oct 2014 15:21:04 +0000 (-0400) Subject: Datepicker: Fix test for French locale X-Git-Tag: 1.11.2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d85016abf00685f3dd520031f5920bc6ec970f76;p=jquery-ui.git Datepicker: Fix test for French locale Ref #10651 --- diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js index 8dba48674..12da290bb 100644 --- a/tests/unit/datepicker/datepicker_options.js +++ b/tests/unit/datepicker/datepicker_options.js @@ -947,7 +947,7 @@ test("parseDate", function() { fr = $.datepicker.regional.fr; settings = {dayNamesShort: fr.dayNamesShort, dayNames: fr.dayNames, monthNamesShort: fr.monthNamesShort, monthNames: fr.monthNames}; - TestHelpers.datepicker.equalsDate($.datepicker.parseDate("D d M y", "Lun. 9 Avril 01", settings), + TestHelpers.datepicker.equalsDate($.datepicker.parseDate("D d M y", "Lun. 9 avr. 01", settings), new Date(2001, 4 - 1, 9), "Parse date D M y with settings"); TestHelpers.datepicker.equalsDate($.datepicker.parseDate("d MM DD yy", "9 Avril Lundi 2001", settings), new Date(2001, 4 - 1, 9), "Parse date d MM DD yy with settings"); @@ -1069,7 +1069,7 @@ test("formatDate", function() { settings = {dayNamesShort: fr.dayNamesShort, dayNames: fr.dayNames, monthNamesShort: fr.monthNamesShort, monthNames: fr.monthNames}; equal($.datepicker.formatDate("D M y", new Date(2001, 4 - 1, 9), settings), - "lun. avril 01", "Format date D M y with settings"); + "lun. avr. 01", "Format date D M y with settings"); equal($.datepicker.formatDate("DD MM yy", new Date(2001, 4 - 1, 9), settings), "lundi avril 2001", "Format date DD MM yy with settings"); equal($.datepicker.formatDate("DD, MM d, yy", new Date(2001, 4 - 1, 9), settings),