From 784ac9ca353b44cb3672835352d4c98fa227d912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=8C=E4=BA=9A?= <130141407+ShiaBox@users.noreply.github.com> Date: Sat, 1 Feb 2025 07:12:09 +0800 Subject: [PATCH] Modify the "Time" in the AliyunSMS to local time. (#5582) --- server/notification-providers/aliyun-sms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/aliyun-sms.js b/server/notification-providers/aliyun-sms.js index ff38bd0d9..e18602bdc 100644 --- a/server/notification-providers/aliyun-sms.js +++ b/server/notification-providers/aliyun-sms.js @@ -17,7 +17,7 @@ class AliyunSMS extends NotificationProvider { if (heartbeatJSON != null) { let msgBody = JSON.stringify({ name: monitorJSON["name"], - time: heartbeatJSON["time"], + time: heartbeatJSON["localDateTime"], status: this.statusToString(heartbeatJSON["status"]), msg: heartbeatJSON["msg"], });