From 50c949cf19d897bbeb797614e71a9fd5bccb912a Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Wed, 27 Sep 2023 15:38:52 +0200 Subject: [PATCH] date format --- latestmatches.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latestmatches.php b/latestmatches.php index b496740..9a914c5 100644 --- a/latestmatches.php +++ b/latestmatches.php @@ -57,7 +57,7 @@ error_reporting(E_ALL); foreach ($player_data['player_matches'] as $match) { $date = new DateTime($match['createdAt']); $date->modify('+2 hours'); - $formattedDate = $date->format('d F Y, H:i:s'); + $formattedDate = $date->format('Y-m-d H:i:s'); $matchType = $match['matchType']; $gameMode = $match['gameMode'];