Datepicker: fixed #4085 - Can not display year and month correctly in Japanese

This commit is contained in:
Keith Wood 2009-04-01 10:34:16 +00:00
parent 89905e277e
commit fea2eeb0d7
42 changed files with 211 additions and 95 deletions

View File

@ -16,7 +16,8 @@ jQuery(function($){
dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
dateFormat: 'dd/mm/yy', dateFormat: 'dd/mm/yy',
firstDay: 0, firstDay: 0,
isRTL: true isRTL: true,
}; showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['ar']); $.datepicker.setDefaults($.datepicker.regional['ar']);
}); });

View File

@ -14,7 +14,10 @@ jQuery(function($){
dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['bg']); $.datepicker.setDefaults($.datepicker.regional['bg']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],
dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
dateFormat: 'mm/dd/yy', firstDay: 0, dateFormat: 'mm/dd/yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['ca']); $.datepicker.setDefaults($.datepicker.regional['ca']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
dayNamesMin: ['ne','po','út','st','čt','pá','so'], dayNamesMin: ['ne','po','út','st','čt','pá','so'],
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['cs']); $.datepicker.setDefaults($.datepicker.regional['cs']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
dateFormat: 'dd-mm-yy', firstDay: 0, dateFormat: 'dd-mm-yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['da']); $.datepicker.setDefaults($.datepicker.regional['da']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['de']); $.datepicker.setDefaults($.datepicker.regional['de']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],
dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],
dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],
dateFormat: 'dd/mm/yy', firstDay: 1, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['el']); $.datepicker.setDefaults($.datepicker.regional['el']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'], dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],
dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'], dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],
dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'], dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['eo']); $.datepicker.setDefaults($.datepicker.regional['eo']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['es']); $.datepicker.setDefaults($.datepicker.regional['es']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($) {
dayNames: ['يکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'], dayNames: ['يکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'], dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'], dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
dateFormat: 'yy/mm/dd', firstDay: 6, dateFormat: 'yy/mm/dd',
isRTL: true}; firstDay: 6,
isRTL: true,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['fa']); $.datepicker.setDefaults($.datepicker.regional['fa']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'], dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['fi']); $.datepicker.setDefaults($.datepicker.regional['fi']);
}); });

View File

@ -1,5 +1,5 @@
/* French initialisation for the jQuery UI date picker plugin. */ /* French initialisation for the jQuery UI date picker plugin. */
/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ /* Written by Keith Wood (kbwood{at}iinet.com.au) and Stéphane Nahmani (sholby@sholby.net). */
jQuery(function($){ jQuery(function($){
$.datepicker.regional['fr'] = { $.datepicker.regional['fr'] = {
closeText: 'Fermer', closeText: 'Fermer',
@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
dateFormat: 'dd/mm/yy', firstDay: 1, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['fr']); $.datepicker.setDefaults($.datepicker.regional['fr']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy',
isRTL: true}; firstDay: 0,
isRTL: true,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['he']); $.datepicker.setDefaults($.datepicker.regional['he']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
dateFormat: 'dd.mm.yy.', firstDay: 1, dateFormat: 'dd.mm.yy.',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['hr']); $.datepicker.setDefaults($.datepicker.regional['hr']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['hu']); $.datepicker.setDefaults($.datepicker.regional['hu']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'], dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],
dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['hy']); $.datepicker.setDefaults($.datepicker.regional['hy']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['id']); $.datepicker.setDefaults($.datepicker.regional['id']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'],
dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['is']); $.datepicker.setDefaults($.datepicker.regional['is']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Domenica','Luned&#236','Marted&#236','Mercoled&#236','Gioved&#236','Venerd&#236','Sabato'], dayNames: ['Domenica','Luned&#236','Marted&#236','Mercoled&#236','Gioved&#236','Venerd&#236','Sabato'],
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'], dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'],
dateFormat: 'dd/mm/yy', firstDay: 1, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['it']); $.datepicker.setDefaults($.datepicker.regional['it']);
}); });

View File

@ -13,8 +13,10 @@ jQuery(function($){
dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
dayNamesShort: ['日','月','火','水','木','金','土'], dayNamesShort: ['日','月','火','水','木','金','土'],
dayNamesMin: ['日','月','火','水','木','金','土'], dayNamesMin: ['日','月','火','水','木','金','土'],
dateFormat: 'yy/mm/dd', firstDay: 0, dateFormat: 'yy/mm/dd',
firstDay: 0,
isRTL: false, isRTL: false,
showMonthAfterYear: true}; showMonthAfterYear: true,
yearSuffix: '年'};
$.datepicker.setDefaults($.datepicker.regional['ja']); $.datepicker.setDefaults($.datepicker.regional['ja']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['일','월','화','수','목','금','토'], dayNames: ['일','월','화','수','목','금','토'],
dayNamesShort: ['일','월','화','수','목','금','토'], dayNamesShort: ['일','월','화','수','목','금','토'],
dayNamesMin: ['일','월','화','수','목','금','토'], dayNamesMin: ['일','월','화','수','목','금','토'],
dateFormat: 'yy-mm-dd', firstDay: 0, dateFormat: 'yy-mm-dd',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['ko']); $.datepicker.setDefaults($.datepicker.regional['ko']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'], dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['lt']); $.datepicker.setDefaults($.datepicker.regional['lt']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
dateFormat: 'dd-mm-yy', firstDay: 1, dateFormat: 'dd-mm-yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['lv']); $.datepicker.setDefaults($.datepicker.regional['lv']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'],
dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'],
dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'],
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['ms']); $.datepicker.setDefaults($.datepicker.regional['ms']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
dateFormat: 'dd/mm/yy', firstDay: 1, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional.nl); $.datepicker.setDefaults($.datepicker.regional.nl);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
dateFormat: 'yy-mm-dd', firstDay: 0, dateFormat: 'yy-mm-dd',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['no']); $.datepicker.setDefaults($.datepicker.regional['no']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'], dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['pl']); $.datepicker.setDefaults($.datepicker.regional['pl']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'], dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'],
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['pt-BR']); $.datepicker.setDefaults($.datepicker.regional['pt-BR']);
}); });

View File

@ -16,7 +16,10 @@ jQuery(function($){
dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'], dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'], dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],
dateFormat: 'dd MM yy', firstDay: 1, dateFormat: 'dd MM yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['ro']); $.datepicker.setDefaults($.datepicker.regional['ro']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'], dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['ru']); $.datepicker.setDefaults($.datepicker.regional['ru']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'], dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'], dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'], dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
dateFormat: 'dd.mm.yy', firstDay: 0, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['sk']); $.datepicker.setDefaults($.datepicker.regional['sk']);
}); });

View File

@ -14,7 +14,10 @@ jQuery(function($){
dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'], dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'],
dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],
dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'],
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['sl']); $.datepicker.setDefaults($.datepicker.regional['sl']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'], dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'], dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'], dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['sq']); $.datepicker.setDefaults($.datepicker.regional['sq']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'], dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'],
dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'], dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'],
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
dateFormat: 'dd/mm/yy', firstDay: 1, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['sr-SR']); $.datepicker.setDefaults($.datepicker.regional['sr-SR']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'], dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],
dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'], dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],
dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'], dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
dateFormat: 'dd/mm/yy', firstDay: 1, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['sr']); $.datepicker.setDefaults($.datepicker.regional['sr']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'], dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'], dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['sv']); $.datepicker.setDefaults($.datepicker.regional['sv']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy',
isRTL: false}; firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['th']); $.datepicker.setDefaults($.datepicker.regional['th']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'], dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['tr']); $.datepicker.setDefaults($.datepicker.regional['tr']);
}); });

View File

@ -2,24 +2,21 @@
/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ /* Written by Maxim Drogobitskiy (maxdao@gmail.com). */
jQuery(function($){ jQuery(function($){
$.datepicker.regional['uk'] = { $.datepicker.regional['uk'] = {
clearText: 'Очистити', clearStatus: '', closeText: 'Закрити',
closeText: 'Закрити', closeStatus: '', prevText: '<',
prevText: '<', prevStatus: '', nextText: '>',
prevBigText: '<<', prevBigStatus: '', currentText: 'Сьогодні',
nextText: '>', nextStatus: '',
nextBigText: '>>', nextBigStatus: '',
currentText: 'Сьогодні', currentStatus: '',
monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень', monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'], 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],
monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер', monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер',
'Лип','Сер','Вер','Жов','Лис','Гру'], 'Лип','Сер','Вер','Жов','Лис','Гру'],
monthStatus: '', yearStatus: '',
weekHeader: 'Не', weekStatus: '',
dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'], dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'],
dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
dayStatus: 'DD', dateStatus: 'D, M d', dateFormat: 'dd/mm/yy',
dateFormat: 'dd/mm/yy', firstDay: 1, firstDay: 1,
initStatus: '', isRTL: false}; isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['uk']); $.datepicker.setDefaults($.datepicker.regional['uk']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
dayNamesMin: ['日','一','二','三','四','五','六'], dayNamesMin: ['日','一','二','三','四','五','六'],
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['zh-CN']); $.datepicker.setDefaults($.datepicker.regional['zh-CN']);
}); });

View File

@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
dayNamesMin: ['日','一','二','三','四','五','六'], dayNamesMin: ['日','一','二','三','四','五','六'],
dateFormat: 'yy/mm/dd', firstDay: 1, dateFormat: 'yy/mm/dd',
isRTL: false}; firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['zh-TW']); $.datepicker.setDefaults($.datepicker.regional['zh-TW']);
}); });

View File

@ -52,7 +52,9 @@ function Datepicker() {
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column headings for days starting at Sunday dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column headings for days starting at Sunday
dateFormat: 'mm/dd/yy', // See format options on parseDate dateFormat: 'mm/dd/yy', // See format options on parseDate
firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ... firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
isRTL: false // True if right-to-left language, false if left-to-right isRTL: false, // True if right-to-left language, false if left-to-right
showMonthAfterYear: false, // True if the year select precedes month, false for month then year
yearSuffix: '' // Additional text to append to the year in the month headers
}; };
this._defaults = { // Global defaults for all the date picker instances this._defaults = { // Global defaults for all the date picker instances
showOn: 'focus', // 'focus' for popup on focus, showOn: 'focus', // 'focus' for popup on focus,
@ -71,7 +73,6 @@ function Datepicker() {
gotoCurrent: false, // True if today link goes back to current selection instead gotoCurrent: false, // True if today link goes back to current selection instead
changeMonth: false, // True if month can be selected directly, false if only prev/next changeMonth: false, // True if month can be selected directly, false if only prev/next
changeYear: false, // True if year can be selected directly, false if only prev/next changeYear: false, // True if year can be selected directly, false if only prev/next
showMonthAfterYear: false, // True if the year select precedes month, false for month then year
yearRange: '-10:+10', // Range of years to display in drop-down, yearRange: '-10:+10', // Range of years to display in drop-down,
// either relative to current year (-nn:+nn) or absolute (nnnn:nnnn) // either relative to current year (-nn:+nn) or absolute (nnnn:nnnn)
showOtherMonths: false, // True to show dates in other months, false to leave blank showOtherMonths: false, // True to show dates in other months, false to leave blank
@ -1456,6 +1457,7 @@ $.extend(Datepicker.prototype, {
} }
html += '</select>'; html += '</select>';
} }
html += this._get(inst, 'yearSuffix');
if (showMonthAfterYear) if (showMonthAfterYear)
html += (secondary || changeMonth || changeYear ? '&#xa0;' : '') + monthHtml; html += (secondary || changeMonth || changeYear ? '&#xa0;' : '') + monthHtml;
html += '</div>'; // Close datepicker_header html += '</div>'; // Close datepicker_header