diff --git a/html/news.php b/html/news.php index 89eff281..e6acc813 100644 --- a/html/news.php +++ b/html/news.php @@ -58,10 +58,10 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { $resultat = $req->fetchAll(PDO::FETCH_ASSOC);; if ($resultat) { - $date = date($resultat[0]['date']); + $date = strtotime($resultat[0]['date']); echo "