From 803190f6789371daf42360db8167e6eb5679d03f Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 28 九月 2026 10:21:35 +0800
Subject: [PATCH] fix(time): 统一将日期时间格式修改为仅日期格式
---
src/utils/ruoyi.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/utils/ruoyi.js b/src/utils/ruoyi.js
index 0d72c1a..2db8af1 100644
--- a/src/utils/ruoyi.js
+++ b/src/utils/ruoyi.js
@@ -8,7 +8,7 @@
if (arguments.length === 0 || !time) {
return null
}
- const format = pattern || '{y}-{m}-{d} {h}:{i}:{s}'
+ const format = pattern || '{y}-{m}-{d}'
let date
if (typeof time === 'object') {
date = time
--
Gitblit v1.9.3