14 lines
229 B
JavaScript
14 lines
229 B
JavaScript
|
/**
|
||
|
* 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"
|
||
|
});
|
||
|
});
|