Closed SauloLauers1982 closed 5 years ago
My datePickerObj
datePickerObj: any = {
fromDate: new Date('01/01/1900'),
inputDate: moment("1982-07-22T10:00:00").format('DD/MM/YYYY'),
showTodayButton: false,
closeOnSelect: true,
setLabel: 'Ok',
closeLabel: 'Fechar',
titleLabel: 'Escolha uma data',
monthsList: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
weeksList: ["D", "S", "T", "Q", "Q", "S", "S"],
dateFormat: 'DD/MM/YYYY',
clearButton: false,
momentLocale: 'pt-BR',
yearInAscending: true,
};
When I open the datePicker without any value on my datefiled, the tible of the picker is always the date '31-12-1969', how can I change it by default?