From e66afe6b077d8e3649bf0d0710a0deab677c783e Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Sun, 25 Oct 2026 23:29:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=9E=84=E5=BB=BA=E7=89=88=E6=9C=AC):=20?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E6=97=A5=E6=9C=9F=E7=BB=9F=E4=B8=80=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E4=B8=AD=E5=9B=BD=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/ofdgo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/webui/ofdgo.js b/assets/webui/ofdgo.js index 7a9b168..6f897b0 100644 --- a/assets/webui/ofdgo.js +++ b/assets/webui/ofdgo.js @@ -2067,7 +2067,8 @@ async function openAboutPanel() { el.aboutVersion.textContent = "版本信息异常"; return; } - el.aboutVersion.textContent = `${date.toISOString().slice(0, 10).replaceAll("-", "")}-${match[2].slice(0, 7)}`; + const day = date.toLocaleDateString("zh-CN", { timeZone: "Asia/Shanghai", year: "numeric", month: "2-digit", day: "2-digit" }).replaceAll("/", ""); + el.aboutVersion.textContent = `${day}-${match[2].slice(0, 7)}`; } async function refreshFileAssociations() {