diff --git a/dispatcher/static/table.js b/dispatcher/static/table.js index 9ebbb62..f74d037 100644 --- a/dispatcher/static/table.js +++ b/dispatcher/static/table.js @@ -297,7 +297,9 @@ class Table { Array.from(this.clockings.querySelector(".clocking.remote-total").cells).forEach((cell, i) => { let endI = startI + cell.colSpan let remote = this.clockingRemotes.slice(startI, endI).reduce((a, b) => a + b, 0) - cell.innerText = Math.round(remote * 100) / 100 + let hour = Math.floor(remote) + let min = Math.floor((remote - hour) * 60) + cell.innerText = hour.toString().padStart(2, "0") + ":" + min.toString().padStart(2, "0") startI = endI })