Modify the "Time" in the AliyunSMS to local time. (#5582)

This commit is contained in:
希亚 2025-02-01 07:12:09 +08:00 committed by GitHub
parent 20820f5a5a
commit 784ac9ca35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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