ZwiiCMS/core/vendor/flatpickr/init.js
2022-01-12 12:11:06 +01:00

15 lines
245 B
JavaScript
Executable File

/**
* Initialisation du sélecteur de date
*/
$(function() {
$(".datepicker").flatpickr({
altInput: true,
altFormat: "d/m/Y H:i",
enableTime: true,
time_24hr: true,
locale: "fr",
regional:"fr",
dateFormat: "Y-m-d H:i"
});
});