From aaf75767fa98a6acdf00b1414bee622d3a3747cc Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Fri, 31 May 2013 10:35:44 +0200 Subject: Datepicker: Replicate fr-locale changes to the demo copy. Adjust unit tests to match the new lowercase names. Fixes #9289 - Datepicker: Incorrect capitalisation for French and Spanish --- tests/unit/datepicker/datepicker_options.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/unit/datepicker/datepicker_options.js') diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js index a775a5302..25257e99f 100644 --- a/tests/unit/datepicker/datepicker_options.js +++ b/tests/unit/datepicker/datepicker_options.js @@ -1057,13 +1057,13 @@ 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. avril 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"); + "lundi avril 2001", "Format date DD MM yy with settings"); equal($.datepicker.formatDate("DD, MM d, yy", new Date(2001, 4 - 1, 9), settings), - "Lundi, Avril 9, 2001", "Format date DD, MM d, yy with settings"); + "lundi, avril 9, 2001", "Format date DD, MM d, yy with settings"); equal($.datepicker.formatDate("'jour' d 'de' MM (''DD''), yy", - new Date(2001, 4 - 1, 9), settings), "jour 9 de Avril ('Lundi'), 2001", + new Date(2001, 4 - 1, 9), settings), "jour 9 de avril ('lundi'), 2001", "Format date 'jour' d 'de' MM (''DD''), yy with settings"); }); -- cgit v1.2.3