From 0db486c28ad8ee07a04e3b1f2a9ecd4ef997fc7c Mon Sep 17 00:00:00 2001 From: root <295172551@qq.com> Date: Sun, 22 Jun 2025 05:53:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=89=8D=E7=AB=AF=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=88=B3=E8=A7=A3=E6=9E=90=E9=94=99=E8=AF=AF=20-=20?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E4=BD=BF=E7=94=A8=E6=AF=AB=E7=A7=92=E6=95=B0?= =?UTF-8?q?=E5=88=9B=E5=BB=BADate=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LTEMvcApp/Views/Home/Logs.cshtml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/LTEMvcApp/Views/Home/Logs.cshtml b/LTEMvcApp/Views/Home/Logs.cshtml index 29934f0..2311e8c 100644 --- a/LTEMvcApp/Views/Home/Logs.cshtml +++ b/LTEMvcApp/Views/Home/Logs.cshtml @@ -311,13 +311,14 @@ // 格式化日志条目为 HTML 字符串 function formatLogItem(log, index) { + // 时间戳是毫秒数,直接用于Date构造函数 const timestamp = new Date(log.timestamp).toISOString(); return `