ZwiiCMS/module/form/view/index/index.js.php

25 lines
579 B
PHP
Raw Normal View History

2018-11-28 15:31:47 +01:00
/**
* This file is part of Zwii.
*
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
*
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2008-2018, Frédéric Tempez
* @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
* @link http://zwiicms.fr/
2018-11-28 15:31:47 +01:00
*/
/**
* Paramétrage du format de date
*/
$(function() {
$(".datepicker").flatpickr({
altInput: true,
altFormat: "d/m/Y",
enableTime: false,
locale: "fr",
dateFormat: "d/m/Y"
});
});