I've added the DateTimePicker
component to my project.
ButthesameisallinEnglish,Iaddedtheoptionofpt-BRinthefunctionthatcreatesitinthefield,andeventhenitcontinuesinEnglish.HowdoIgetthemonths/daysoftheweektobept-BR?
functionatualizarCalendariosHora(){$(".calendarioHora").mask("99/99/9999 99:99");
$(".calendarioHora").datetimepicker("destroy");
$(".calendarioHora:not([readonly='readonly']):not([readonly='true'])").datetimepicker({
format: 'd/m/Y H:i',
lang: 'pt-BR',
mask: '99/99/9999 99:99',
onClose: function () {
try {
$(this).valid();
}
catch (e) {
}
}
});
}