forked from ZwiiCMS-Team/ZwiiCMS
15 lines
245 B
JavaScript
Executable File
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"
|
|
});
|
|
});
|