date format

This commit is contained in:
Lanta 2023-09-27 15:38:52 +02:00
parent 8faeea7f9b
commit debbb454e1

View file

@ -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'];