forked from kbwood/dateentry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery.dateentry-pt.js
More file actions
15 lines (15 loc) · 846 Bytes
/
jquery.dateentry-pt.js
File metadata and controls
15 lines (15 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* http://keith-wood.name/dateEntry.html
Portuguese initialisation for the jQuery date entry extension
Written by Dino Sane (dino@asttra.com.br) and Leonildo Costa Silva (leocsilva@gmail.com). */
(function($) {
$.dateEntry.regionalOptions['pt'] = {dateFormat: 'dmy/',
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'],
spinnerTexts: ['Agora', 'Campo anterior', 'Campo Seguinte', 'Aumentar', 'Diminuir']};
$.dateEntry.setDefaults($.dateEntry.regionalOptions['pt']);
})(jQuery);