forked from kbwood/datepick
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery.datepick-he.js
More file actions
29 lines (29 loc) · 1.33 KB
/
jquery.datepick-he.js
File metadata and controls
29 lines (29 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* http://keith-wood.name/datepick.html
Hebrew localisation for jQuery Datepicker.
Written by Amir Hardon (ahardon at gmail dot com). */
(function($) {
$.datepick.regionalOptions['he'] = {
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
monthNamesShort: ['1','2','3','4','5','6',
'7','8','9','10','11','12'],
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
dateFormat: 'dd/mm/yyyy', firstDay: 0,
renderer: $.datepick.defaultRenderer,
prevText: '<הקודם', prevStatus: '',
prevJumpText: '<<', prevJumpStatus: '',
nextText: 'הבא>', nextStatus: '',
nextJumpText: '>>', nextJumpStatus: '',
currentText: 'היום', currentStatus: '',
todayText: 'היום', todayStatus: '',
clearText: 'נקה', clearStatus: '',
closeText: 'סגור', closeStatus: '',
yearStatus: '', monthStatus: '',
weekText: 'Wk', weekStatus: '',
dayStatus: 'DD, M d', defaultStatus: '',
isRTL: true
};
$.datepick.setDefaults($.datepick.regionalOptions['he']);
})(jQuery);