From 69a3e2f6e050c6f1d28b2de5a01fe3f68439287c Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Tue, 8 Sep 2026 15:24:14 +0800 Subject: [PATCH] =?UTF-8?q?ws=E6=B6=88=E6=81=AF=E6=8E=A8=E9=80=814?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/AdminNotice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/AdminNotice.php b/app/Models/AdminNotice.php index 50185e9..a1b8544 100644 --- a/app/Models/AdminNotice.php +++ b/app/Models/AdminNotice.php @@ -40,6 +40,6 @@ class AdminNotice extends Model public function getAlarmTimeAttribute($value): string { - return get_datetime('datetime', strtotime($value)); + return date("Y-m-d H:i:s", strtotime($value)); } }