From 7bfb1b065cedbf470e437fcf1779ccdcc108b1e1 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 24 Jul 2024 21:59:08 +0200 Subject: [PATCH] Local time not representing the real local time. --- src/Pages/Bridge.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pages/Bridge.jsx b/src/Pages/Bridge.jsx index 0bfbe37..6e35472 100644 --- a/src/Pages/Bridge.jsx +++ b/src/Pages/Bridge.jsx @@ -489,7 +489,7 @@ const Bridge = ({ HOST_IP, API_KEY }) => { readOnly={true} type="text" placeholder="time" - value={Date(readonlyConf["localtime"])} + value={new Date(readonlyConf["localtime"])} />