From e9fc56c0563a2edabcaab2bb694fbb949ce725e3 Mon Sep 17 00:00:00 2001 From: Bai Date: Thu, 2 Apr 2020 16:02:51 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/static/js/jumpserver.js | 3 ++- apps/templates/_foot_js.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/static/js/jumpserver.js b/apps/static/js/jumpserver.js index 0adae3e10..9081d3a94 100644 --- a/apps/static/js/jumpserver.js +++ b/apps/static/js/jumpserver.js @@ -1256,7 +1256,8 @@ function toSafeDateISOStr(s) { function toSafeLocalDateStr(d) { var date = safeDate(d); - var date_s = date.toLocaleString(getUserLang(), {hour12: false}); + // var date_s = date.toLocaleString(getUserLang(), {hour12: false}); + var date_s = date.toLocaleString(getUserLang(), {hourCycle: "h23"}); return date_s.split("/").join('-') } diff --git a/apps/templates/_foot_js.html b/apps/templates/_foot_js.html index b140e7862..ff158b54b 100644 --- a/apps/templates/_foot_js.html +++ b/apps/templates/_foot_js.html @@ -7,7 +7,7 @@ - +