Archived
1
0
Fork 0

Gamejolt time in seconds, not milliseconds

This commit is contained in:
Alexander Yakovlev 2017-10-13 08:26:59 +07:00
parent e017cc082a
commit 0f87251bd3

View file

@ -14,7 +14,7 @@ class Gamejolt extends Source {
$game = new Game;
$game->title = $gameData->title;
$game->author = $gameData->developer->display_name;
$game->date = $gameData->published_on;
$game->date = $gameData->published_on / 1000;
$game->description = $descData->payload->metaDescription;
$game->url = 'https://gamejolt.com/games/'.$gameData->slug.'/'.$gameData->id;
if ($game->date < $this->period) {