2
I added the component of DateTimePicker
to my project.
But the same is all in English, I added the option of pt-BR in Function that creates it in the field, and even so it remains in English. How do I make the months/days of the week ?
function atualizarCalendariosHora() {
$(".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) {
}
}
});
}
which plugin friend?
– Leandro RR