feat: correcting date in process-watcher

This commit is contained in:
Chubby Granny Chaser
2024-05-29 17:20:47 +01:00
47 changed files with 334 additions and 489 deletions

View File

@@ -46,7 +46,7 @@ export const watchProcesses = async () => {
await gameRepository.update(game.id, {
playTimeInMilliseconds: game.playTimeInMilliseconds + delta,
lastTimePlayed: new Date().toUTCString(),
lastTimePlayed: new Date(),
});
}