From d505da1b8bfe7d47ef91076f56b7137159abe30c Mon Sep 17 00:00:00 2001 From: Maxime Tournier Date: Sun, 24 Apr 2022 13:24:32 +0200 Subject: [PATCH] add date bot --- actu.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/actu.php b/actu.php index 0c18ebc..30df662 100644 --- a/actu.php +++ b/actu.php @@ -33,6 +33,8 @@ } else if ($username == "Pierre-Louis Devaud"){ $id = "p"; } + $dateSrc = $actu['date']; + $dateTime = new DateTime($dateSrc); ?>
  • @@ -41,6 +43,7 @@

    + format('H:i d/m/y') ?>