From e22593b708c701c064da5a9fd25927441772bc97 Mon Sep 17 00:00:00 2001 From: johnnliu Date: Fri, 1 Oct 2021 16:34:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=88=E4=BB=BD=E5=88=A4?= =?UTF-8?q?=E5=AE=9A=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/bootstrap/js/httpclient/httpclient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/bootstrap/js/httpclient/httpclient.js b/assets/bootstrap/js/httpclient/httpclient.js index 5bb0812..b7de571 100644 --- a/assets/bootstrap/js/httpclient/httpclient.js +++ b/assets/bootstrap/js/httpclient/httpclient.js @@ -11,7 +11,7 @@ function GenerateAuthorization(path, method, params) { let date = new Date(); let datetime = date.getFullYear() + "-" // "年" - + ((date.getMonth() + 1) > 10 ? (date.getMonth() + 1) : "0" + (date.getMonth() + 1)) + "-" // "月" + + ((date.getMonth() + 1) >= 10 ? (date.getMonth() + 1) : "0" + (date.getMonth() + 1)) + "-" // "月" + (date.getDate() < 10 ? "0" + date.getDate() : date.getDate()) + " " // "日" + (date.getHours() < 10 ? "0" + date.getHours() : date.getHours()) + ":" // "小时" + (date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes()) + ":" // "分钟"