26 lines
1.0 KiB
JavaScript
26 lines
1.0 KiB
JavaScript
/* http://keith-wood.name/calendars.html
|
|
Spanish/Perú localisation for Gregorian/Julian calendars for jQuery.
|
|
Written by Fischer Tirado (fishdev@globant.com) of ASIX (http://www.asixonline.com). */
|
|
(function($) {
|
|
'use strict';
|
|
$.calendars.calendars.gregorian.prototype.regionalOptions['es-PE'] = {
|
|
name: 'Gregorian',
|
|
epochs: ['BCE', 'CE'],
|
|
monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
|
|
'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
|
|
monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
|
|
'Jul','Ago','Sep','Oct','Nov','Dic'],
|
|
dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
|
|
dayNamesShort: ['Dom','Lun','Mar','Mié','Jue','Vie','Sab'],
|
|
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sa'],
|
|
digits: null,
|
|
dateFormat: 'dd/mm/yyyy',
|
|
firstDay: 0,
|
|
isRTL: false
|
|
};
|
|
if ($.calendars.calendars.julian) {
|
|
$.calendars.calendars.julian.prototype.regionalOptions['es-PE'] =
|
|
$.calendars.calendars.gregorian.prototype.regionalOptions['es-PE'];
|
|
}
|
|
})(jQuery);
|