feat(构建版本): 构建日期统一使用中国时区
build.yaml / build (push) Successful in 44s

This commit is contained in:
xiaoqidun committed 2026-10-25 23:29:18 +08:00
1 parent cc274bc571
commit e66afe6b07
1 file changed
+2 -1
+2 -1
View File
@@ -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() {