diff --git a/src/UI/Status/StatusGUI.svelte b/src/UI/Status/StatusGUI.svelte index 26bbd8afad..80fd6ed7b2 100644 --- a/src/UI/Status/StatusGUI.svelte +++ b/src/UI/Status/StatusGUI.svelte @@ -429,6 +429,9 @@ enableTrafficLight.addCallbackAndRunD((_) => { setTrafficLight(all.data) }) + + let now = Math.round(new Date().getTime() / 60000) * 60 + let oneDayAgo = now - 2 * 24 * 60 * 60