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);