From cee6f373eb6194a45c64fe70646606a014ba8a6c Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Thu, 20 Jun 2024 22:07:23 -0300 Subject: [PATCH] fix: last time played --- src/main/services/library-sync/merge-with-remote-games.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/library-sync/merge-with-remote-games.ts b/src/main/services/library-sync/merge-with-remote-games.ts index 460cad0f..70a2ee59 100644 --- a/src/main/services/library-sync/merge-with-remote-games.ts +++ b/src/main/services/library-sync/merge-with-remote-games.ts @@ -21,7 +21,7 @@ export const mergeWithRemoteGames = async () => { localGame.lastTimePlayed == null || (game.lastTimePlayed && new Date(game.lastTimePlayed) > localGame.lastTimePlayed) - ? new Date(game.lastTimePlayed) + ? game.lastTimePlayed : localGame.lastTimePlayed; const updatedPlayTime =