aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2014-10-07 11:21:04 -0400
committerScott González <scott.gonzalez@gmail.com>2014-10-07 11:21:04 -0400
commitd85016abf00685f3dd520031f5920bc6ec970f76 (patch)
tree09973788144cecc3b428644a55c6cd7591311cf9 /tests/unit
parent02c37d3aef059de80db5a2c2eeb551ed20a4db71 (diff)
downloadjquery-ui-d85016abf00685f3dd520031f5920bc6ec970f76.tar.gz
jquery-ui-d85016abf00685f3dd520031f5920bc6ec970f76.zip
Datepicker: Fix test for French locale
Ref #10651
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/datepicker/datepicker_options.js4
1 files changed, 2 insertions, 2 deletions
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),