From 30fcf052976c68d9f573fbd4996845c9c5681e91 Mon Sep 17 00:00:00 2001 From: Adrien Date: Tue, 14 Dec 2021 16:07:31 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20d'ACTUALIT=C3=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ACTUALITE/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACTUALITE/index.php b/ACTUALITE/index.php index 366c223..08b43d7 100644 --- a/ACTUALITE/index.php +++ b/ACTUALITE/index.php @@ -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'));