Mise à jour d'ACTUALITÉ
This commit is contained in:
parent
117d025460
commit
30fcf05297
@ -57,7 +57,7 @@ Bonne lecture ! -->
|
||||
|
||||
public static function get()
|
||||
{
|
||||
$commitDate = new \DateTime(trim(exec('git log -n1 --pretty=%ci HEAD')));
|
||||
$commitDate = new \DateTime(trim(exec('git log -n1 --pretty=%ci index.php')));
|
||||
$commitDate->setTimezone(new \DateTimeZone('Europe/Paris'));
|
||||
|
||||
return sprintf('%s', $commitDate->format('d/m/Y')); // H:i:s'));
|
||||
|
Loading…
Reference in New Issue
Block a user