From ccb764d4f54c62982b52094b6b1f0ce683693b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=A5=E4=B8=80=E4=B8=80?= <1204244136@qq.com> Date: Mon, 26 May 2025 23:37:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E4=BA=86=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=97=B6=E9=97=B4=E7=9A=84=E7=AE=97=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DoroHelper.ahk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DoroHelper.ahk b/DoroHelper.ahk index a3e4aa4..d1b9404 100644 --- a/DoroHelper.ahk +++ b/DoroHelper.ahk @@ -631,8 +631,8 @@ CalculateAndShowSpan(ExitReason := "", ExitCode := "") { timestamps.Push(match[]) } } - ; 直接取最早(第1个)和最晚(最后1个)时间戳(日志已按时间顺序追加) - earliestTimeStr := timestamps[1] + ; 直接取最早(正式运行时的第5个)和最晚(最后1个)时间戳(日志已按时间顺序追加) + earliestTimeStr := timestamps[5] latestTimeStr := timestamps[timestamps.Length] ; 转换为秒数 earliestSeconds := TimeToSeconds(earliestTimeStr)