From e162ea44cb2933a5ea46d263c58661497f686f06 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 21 Nov 2021 08:44:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=B6=E9=97=B4=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E7=BB=84=E4=BB=B6=E6=97=B6=E9=97=B4=E6=88=B3=E6=80=BB?= =?UTF-8?q?=E6=98=AF=E5=A4=9A=E4=B8=80=E7=A7=92=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/public/js/components/common/datetime-input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/public/js/components/common/datetime-input.js b/web/public/js/components/common/datetime-input.js index 9f9c574c..c0dc7ac5 100644 --- a/web/public/js/components/common/datetime-input.js +++ b/web/public/js/components/common/datetime-input.js @@ -132,7 +132,7 @@ Vue.component("datetime-input", { this.hasSecondError = false date.setSeconds(second) - this.timestamp = Math.ceil(date.getTime() / 1000) + this.timestamp = Math.floor(date.getTime() / 1000) }, leadingZero: function (s, l) { if (l <= s.length) {