From b0d368e0679d7b330e79fb68992e2e5aa442f294 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Tue, 8 Sep 2026 10:49:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=89=8D=E7=AB=AF=E7=95=8C=E9=9D=A2):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=AD=BE=E5=90=8D=E6=97=B6=E9=97=B4=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/ofdgo.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/assets/webui/ofdgo.js b/assets/webui/ofdgo.js index 758f3cd..b9780ca 100644 --- a/assets/webui/ofdgo.js +++ b/assets/webui/ofdgo.js @@ -1898,11 +1898,7 @@ function signatureReferenceStatus(signature) { function formatSignatureTime(value) { const text = String(value || "").trim(); - const digits = text.match(/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/); - if (digits) { - return `${digits[1]}-${digits[2]}-${digits[3]} ${digits[4]}:${digits[5]}:${digits[6]}`; - } - return text.replace("T", " ").replace(/(?:Z|[+-]\d{2}:?\d{2})$/, ""); + return text.replace(/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d+)?(Z|[+-]\d{2}:?\d{2})?$/, "$1-$2-$3 $4:$5:$6$7$8").replace("T", " "); } function appendSignatureLine(row, label, value, status = "") {