From d66e3f953e819fcc8d85e2df9459d548f43dde98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B8=8C=E4=BA=9A?=
 <130141407+ShiaBox@users.noreply.github.com>
Date: Thu, 30 Jan 2025 02:29:07 +0800
Subject: [PATCH] Change the "Time" in the AliyunSMS to local time.

---
 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"],
                 });