From 1eda09ea3912e4483048393ab24dc122588ac26c Mon Sep 17 00:00:00 2001 From: Miodec Date: Thu, 24 Feb 2022 12:39:20 +0100 Subject: [PATCH] rounding time on the account --- frontend/src/scripts/account/all-time-stats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scripts/account/all-time-stats.ts b/frontend/src/scripts/account/all-time-stats.ts index bf0594abf..e27810351 100644 --- a/frontend/src/scripts/account/all-time-stats.ts +++ b/frontend/src/scripts/account/all-time-stats.ts @@ -19,7 +19,7 @@ export function update(): void { if (seconds === 0) { string = "-"; } else { - string = Misc.secondsToString(seconds, true, true); + string = Misc.secondsToString(Math.round(seconds), true, true); } $(".pageAccount .globalTimeTyping .val").text(string); }