forked from kbwood/calendars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.calendars-pt-BR.js
24 lines (24 loc) · 1.03 KB
/
jquery.calendars-pt-BR.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
Brazilian Portuguese localisation for Gregorian/Julian calendars for jQuery.
Written by Leonildo Costa Silva ([email protected]). */
(function($) {
$.calendars.calendars.gregorian.prototype.regionalOptions['pt-BR'] = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
'Jul','Ago','Set','Out','Nov','Dez'],
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
digits: null,
dateFormat: 'dd/mm/yyyy',
firstDay: 0,
isRTL: false
};
if ($.calendars.calendars.julian) {
$.calendars.calendars.julian.prototype.regionalOptions['pt-BR'] =
$.calendars.calendars.gregorian.prototype.regionalOptions['pt-BR'];
}
})(jQuery);