diff --git a/latestmatches.php b/latestmatches.php
index 4e84d10..6590b50 100644
--- a/latestmatches.php
+++ b/latestmatches.php
@@ -49,17 +49,17 @@ error_reporting(E_ALL);
if (isset($player_data['playername']) && $player_data['playername'] === $selected_player) {
echo "
Recent Matches for $selected_player
";
echo "";
- echo "| Match Date | Game Mode | MatchType | Map | Kills | Damage Dealt | Time Survived | winPlace |
";
+ echo "| Match Date | Game Mode | Match Type | Map | Kills | Damage Dealt | Time Survived | win Place |
";
foreach ($player_data['player_matches'] as $match) {
$date = new DateTime($match['createdAt']);
$date->modify('+2 hours');
- $formattedDate = $date->format('Y-m-d H:i:s');
+ $formattedDate = $date->format('m-d H:i:s');
$matchType = $match['matchType'];
$gameMode = $match['gameMode'];
$mapName = isset($mapNames[$match['mapName']]) ? $mapNames[$match['mapName']] : $match['mapName'];
$kills = $match['stats']['kills'];
- $damage = $match['stats']['damageDealt'];
+ $damage = number_format($match['stats']['damageDealt'], 0, '.', '');
$timeSurvived = $match['stats']['timeSurvived'];
$winPlace = $match['stats']['winPlace'];
echo "| $formattedDate | $gameMode | $matchType | $mapName | $kills | $damage | $timeSurvived | $winPlace |
";