14 lines
229 B
JavaScript
Executable File
14 lines
229 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",
|
|
dateFormat: "Y-m-d H:i:s"
|
|
});
|
|
});
|