diff --git a/www/protected/controllers/HighscoresController.php b/www/protected/controllers/HighscoresController.php index 681e759..7bd9835 100644 --- a/www/protected/controllers/HighscoresController.php +++ b/www/protected/controllers/HighscoresController.php @@ -43,7 +43,7 @@ class HighscoresController extends MSController //TODO-MS Test online if it all $entry->PLAYER = $name; $entry->PLAYERID = -1; $entry->CHECKSUM = $check; - $entry->TIMESTAMP = time(); + $entry->TIMESTAMP = date("Y-m-d H:m:s", time()); $entry->IP = $_SERVER['REMOTE_ADDR']; if ($entry->checkChecksum($rand)) @@ -151,7 +151,7 @@ class HighscoresController extends MSController //TODO-MS Test online if it all $entry->PLAYER = $name; $entry->PLAYERID = -1; $entry->CHECKSUM = $check; - $entry->TIMESTAMP = time(); + $entry->TIMESTAMP = date("Y-m-d H:m:s", time()); $entry->IP = $_SERVER['REMOTE_ADDR']; if ($entry->checkChecksum($rand))