date format
This commit is contained in:
parent
8faeea7f9b
commit
debbb454e1
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ error_reporting(E_ALL);
|
||||||
foreach ($player_data['player_matches'] as $match) {
|
foreach ($player_data['player_matches'] as $match) {
|
||||||
$date = new DateTime($match['createdAt']);
|
$date = new DateTime($match['createdAt']);
|
||||||
$date->modify('+2 hours');
|
$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'];
|
$matchType = $match['matchType'];
|
||||||
$gameMode = $match['gameMode'];
|
$gameMode = $match['gameMode'];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue