fix: downtime calculation
This commit is contained in:
1 parent
54ffad7baa
commit
ccbb48b040
1 file changed
+1
-1
+1
-1
@@ -162,7 +162,7 @@ export default {
|
||||
lastIncident.end = currentTimeSecond
|
||||
await config.callback(
|
||||
`✔️${monitor.name} came back up at ${timeString} after ${Math.round(
|
||||
(lastIncident.end - lastIncident.start.slice(-1)[0]) / 60
|
||||
(lastIncident.end - lastIncident.start[0]) / 60
|
||||
)} minutes of downtime`
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user