Hello,
How do I make the hours, minutes and seconds are selected when I select the dates I have specified in the calendar?
2023-02-15 10:20:15
I want the hour, minute, and second here to be selected
flatpickr(".calendar", {
disableMobile: "true",
allowInvalidPreload: "true",
allowInput: true,
dateFormat: "Y-m-d H:i:s",
enableTime: true,
time_24hr: true,
minDate: "2023-06-02 14:35:30",
enable: ["2023-06-02 14:35:30","2023-05-18 13:36:07","2023-05-09 13:36:49","2022-12-14 13:54:54","2022-12-06 21:04:57","2022-11-15 17:34:05","2022-11-10 20:54:20"],
maxDate: "2022-11-10 20:54:20",
locale: {
firstDayOfWeek: 1,
weekdays: {
longhand: ['Pazar', 'Pazartesi','Salı','Çarşamba','Perşembe', 'Cuma','Cumartesi'],
shorthand: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt']
},
months: {
longhand: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos', 'Eylül','Ekim','Kasım','Aralık'],
shorthand: ['Oca','Şub','Mar','Nis','May','Haz','Tem','Ağu','Eyl','Eki','Kas','Ara']
},
today: 'Bugün',
clear: 'Temizle'
}
});