From 09038aeb09c04d9afea918523175935c8d9a4d4e Mon Sep 17 00:00:00 2001 From: Alirea <2981883527@qq.com> Date: Sat, 27 Sep 2025 02:05:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(notif):=20=E4=BF=AE=E5=A4=8D=E7=90=86?= =?UTF-8?q?=E6=99=BA=E5=9B=9E=E6=BB=A1=E6=97=B6=E9=97=B4=E4=B8=8D=E5=B8=A6?= =?UTF-8?q?=E5=A4=9A=E4=B9=85=E5=9B=9E=E6=BB=A1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/core/config.py b/app/core/config.py index 9f36c79..472a331 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -2052,8 +2052,8 @@ class AppConfig(GlobalConfig): if sanity_match: data["sanity"] = int(sanity_match.group(1)) - # 提取理智回满时间:理智将在 2025-09-26 18:57 回满 - sanity_full_match = re.search(r"理智将在\s*(\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2})\s*回满", log_line) + # 提取理智回满时间:理智将在 2025-09-26 18:57 回满。(17h 29m 后) + sanity_full_match = re.search(r"(理智将在\s*\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}\s*回满。\(\d+h\s+\d+m\s+后\))", log_line) if sanity_full_match: data["sanity_full_at"] = sanity_full_match.group(1)