From 5a0619703dc8c7ec73242f99dbf15ef51874601b Mon Sep 17 00:00:00 2001 From: amol Date: Tue, 2 Jan 2024 16:01:17 +0530 Subject: [PATCH] Data updating issue resolved --- controller/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/helper.js b/controller/helper.js index 4737bc0..d2c5107 100644 --- a/controller/helper.js +++ b/controller/helper.js @@ -5,7 +5,7 @@ function getCurrentDateTime() { var dateStr = date.getFullYear() + "-" + ("00" + (date.getMonth() + 1)).slice(-2) + "-" + - date.getDate() + " " + + ("00" + date.getDate()).slice(-2) + " " + ("00" + date.getHours()).slice(-2) + ":" + ("00" + date.getMinutes()).slice(-2) + ":" + ("00" + date.getSeconds()).slice(-2);