From 4cbddfdba7d86d563a1a2853ef6427368b95d239 Mon Sep 17 00:00:00 2001 From: Nicholas Orlowsky Date: Thu, 6 Oct 2022 20:52:35 -0500 Subject: [PATCH] Update so that time is accurate to the ms --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 75e2146..0f00663 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -5,7 +5,7 @@ import 'bootstrap/dist/css/bootstrap.min.css'; function App() { const today = new Date(); - const setup_time = new Date(today.getFullYear(), today.getMonth() - 1, today.getDate()); + const setup_time = new Date(today.getFullYear(), today.getMonth() - 1, today.getDate(), today.getHours(), today.getMinutes(), today.getSeconds(), today.getMilliseconds()); const [monitors, setMonitors] = useState(new Array()); useEffect(() => {