diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-05-31 10:35:44 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-05-31 10:35:44 +0200 |
commit | aaf75767fa98a6acdf00b1414bee622d3a3747cc (patch) | |
tree | 3f6da76617b8f18933f1436f720fc669d3e0a530 /tests/unit/datepicker | |
parent | 699756942f5c8201a529295fde0e7f358ba48317 (diff) | |
download | jquery-ui-aaf75767fa98a6acdf00b1414bee622d3a3747cc.tar.gz jquery-ui-aaf75767fa98a6acdf00b1414bee622d3a3747cc.zip |
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
Diffstat (limited to 'tests/unit/datepicker')
-rw-r--r-- | tests/unit/datepicker/datepicker_options.js | 8 |
1 files changed, 4 insertions, 4 deletions
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"); }); |