fix: also round up seconds in SLA fulfilled duration calculation
This commit is contained in:
parent
47708b1cbe
commit
d30678d5de
@ -15,7 +15,7 @@ export function formatTime(seconds) {
|
|||||||
const days = Math.floor(seconds / (3600 * 24))
|
const days = Math.floor(seconds / (3600 * 24))
|
||||||
const hours = Math.floor((seconds % (3600 * 24)) / 3600)
|
const hours = Math.floor((seconds % (3600 * 24)) / 3600)
|
||||||
const minutes = Math.floor((seconds % 3600) / 60)
|
const minutes = Math.floor((seconds % 3600) / 60)
|
||||||
const remainingSeconds = seconds % 60
|
const remainingSeconds = Math.floor(seconds % 60)
|
||||||
|
|
||||||
let formattedTime = ''
|
let formattedTime = ''
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user