fzaninotto / uptime

A remote monitoring application using Node.js, MongoDB, and Twitter Bootstrap.
http://fzaninotto.github.com/uptime/
MIT License
3.62k stars 707 forks source link

Incorrect Availability & Downtime duration between AM & PM events #367

Open ankitduseja opened 6 years ago

ankitduseja commented 6 years ago

If the check goes down around 11:30AM and comes back up at 12:30PM, the availability and downtime calculations are incorrect. It should show as 1 hour downtime, instead it shows as 12 hour downtime, also the availability is incorrect as 49.xx% in this scenario.

screen shot 2018-06-13 at 7 09 28 pm

This is also reflected zoomed out month view as well, where the downtime is calculated as half-a-day for such an event.