From 68e343083bf507dc6f17c273d6615a21f09cfc23 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 22 Oct 2024 19:10:18 +0100 Subject: [PATCH] fix timestamp --- projects/backend/src/service/score.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/backend/src/service/score.service.ts b/projects/backend/src/service/score.service.ts index ec1d70e..1c1b31d 100644 --- a/projects/backend/src/service/score.service.ts +++ b/projects/backend/src/service/score.service.ts @@ -211,7 +211,7 @@ export class ScoreService { left: score.accLeft, right: score.accRight, }, - timestamp: new Date(score.timeset), + timestamp: new Date(Number(score.timeset) * 1000), } as AdditionalScoreData; if (rawScoreImprovement && rawScoreImprovement.score > 0) { data.scoreImprovement = {