forked from kbwood/calendars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.calendars-rm.js
24 lines (24 loc) · 986 Bytes
/
jquery.calendars-rm.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* http://keith-wood.name/calendars.html
Romansh localisation for Gregorian/Julian calendars for jQuery.
Yvonne Gienal (yvonne.gienal@educa.ch). */
(function($) {
$.calendars.calendars.gregorian.prototype.regionalOptions['rm'] = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur',
'Fanadur','Avust','Settember','October','November','December'],
monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer',
'Fan','Avu','Sett','Oct','Nov','Dec'],
dayNames: ['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'],
dayNamesShort: ['Dum','Gli','Mar','Mes','Gie','Ven','Som'],
dayNamesMin: ['Du','Gl','Ma','Me','Gi','Ve','So'],
digits: null,
dateFormat: 'dd/mm/yyyy',
firstDay: 1,
isRTL: false
};
if ($.calendars.calendars.julian) {
$.calendars.calendars.julian.prototype.regionalOptions['rm'] =
$.calendars.calendars.gregorian.prototype.regionalOptions['rm'];
}
})(jQuery);