agenda_calendrier.json_fonctions.php 343 o
<?php
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
/**
* Prendre la date courante et ajuste à un j+1, 00:00:00
* @param string $date
* @return string date
**/
function full_calendar_jplusun($date) {
$date = new DateTime($date);
$date->setTime(0,0,0);
$date->add(new DateInterval('P1D'));
return $date->format('Y-m-d H:i:s');
}