aboutsummaryrefslogtreecommitdiffstats
path: root/tests/datepicker.js
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2008-12-08 10:26:17 +0000
committerKeith Wood <kbwood.au@gmail.com>2008-12-08 10:26:17 +0000
commitb3f1dcfadc6126515953263de25fa4363dfce92a (patch)
tree2fcca39cd1a6b78277e66b2b8d23dee44d8a4cdb /tests/datepicker.js
parent4d43d674f89fc1e3d30402944e97d56dcc5583d2 (diff)
downloadjquery-ui-b3f1dcfadc6126515953263de25fa4363dfce92a.tar.gz
jquery-ui-b3f1dcfadc6126515953263de25fa4363dfce92a.zip
Fixed 3610. Error in French l18n file.
Diffstat (limited to 'tests/datepicker.js')
-rw-r--r--tests/datepicker.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/datepicker.js b/tests/datepicker.js
index 479947a5d..c173b502f 100644
--- a/tests/datepicker.js
+++ b/tests/datepicker.js
@@ -1572,11 +1572,11 @@ test('localisation', function() {
});
equals($('.ui-datepicker-title-row td:first', dp).text(),
$.datepicker.regional['fr'].weekHeader, 'Localisation - week header');
- var day = 0;
+ var day = 1;
$('.ui-datepicker-title-row a', dp).each(function() {
equals($(this).text(), $.datepicker.regional['fr'].dayNamesMin[day],
'Localisation - day ' + day);
- day++;
+ day = (day + 1) % 7;
});
inp.simulate('keydown', {keyCode: $.simulate.VK_ENTER});
var date = new Date();