This commit is contained in:
Edgar 2023-07-22 14:59:55 +02:00
parent fb885d52d1
commit 223514b04c
3 changed files with 6 additions and 2 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "TeeAssembler-2.0"]
path = TeeAssembler-2.0
url = git@github.com:AlexIsTheGuy/TeeAssembler-2.0.git

1
TeeAssembler-2.0 Submodule

@ -0,0 +1 @@
Subproject commit 934632859098a3d5e3ff7e397477f54c86ca843b

View file

@ -50,9 +50,9 @@
<td class="px-2 py-2 font-bold text-left"
>{client.score} / {client.score === -9999
? '00:00'
: `${Math.floor(client.score / 60)
: `${Math.floor(Math.abs(client.score) / 60)
.toString()
.padStart(2, '0')}:${((client.score - Math.floor(client.score / 60)) % 60)
.padStart(2, '0')}:${((Math.abs(client.score) - Math.floor(Math.abs(client.score) / 60)) % 60)
.toString()
.padStart(2, '0')}`}</td
>