Gamejolt time in seconds, not milliseconds
This commit is contained in:
parent
e017cc082a
commit
0f87251bd3
|
@ -14,7 +14,7 @@ class Gamejolt extends Source {
|
||||||
$game = new Game;
|
$game = new Game;
|
||||||
$game->title = $gameData->title;
|
$game->title = $gameData->title;
|
||||||
$game->author = $gameData->developer->display_name;
|
$game->author = $gameData->developer->display_name;
|
||||||
$game->date = $gameData->published_on;
|
$game->date = $gameData->published_on / 1000;
|
||||||
$game->description = $descData->payload->metaDescription;
|
$game->description = $descData->payload->metaDescription;
|
||||||
$game->url = 'https://gamejolt.com/games/'.$gameData->slug.'/'.$gameData->id;
|
$game->url = 'https://gamejolt.com/games/'.$gameData->slug.'/'.$gameData->id;
|
||||||
if ($game->date < $this->period) {
|
if ($game->date < $this->period) {
|
||||||
|
|
Reference in a new issue