From af928a43c281c5acccbbaafb9dc17b98cf8e3c98 Mon Sep 17 00:00:00 2001
From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com>
Date: 星期五, 06 一月 2023 11:09:30 +0800
Subject: [PATCH] 时间戳问题修复

---
 src/filters/index.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/filters/index.js b/src/filters/index.js
index d754e78..c8a1b4e 100644
--- a/src/filters/index.js
+++ b/src/filters/index.js
@@ -26,7 +26,7 @@
     }else{
         let date = new Date(value);
         let month =  (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1);
-        let day =  (date.getDate()+1 < 10 ? '0'+(date.getDate()+1) : date.getDate()+1);
+        let day =  (date.getDate()+1 < 10 ? '0'+(date.getDate()) : date.getDate());
         let hours = date.getHours();
         if (hours < 10)
             hours = "0" + hours;

--
Gitblit v1.9.2