Commit af741cd9 authored by JonathanMM's avatar JonathanMM

Mise en forme de la date de dernière mise à jour

parent ad606c2c
......@@ -21,7 +21,7 @@ $smarty->assign(array(
'nbEbike' => $conso['nbEbike'],
'nbEDock' => $conso['nbEDock'],
'nbFreeEDock' => $conso['nbFreeEDock'],
'dateDerniereConso' => $conso['date']
'dateDerniereConso' => (new DateTime($conso['date']))->format('d/m/Y à H:i')
));
$smarty->display('index.tpl');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment