Change the "Time" in the AliyunSMS to local time.

This commit is contained in:
希亚 2025-01-30 02:29:07 +08:00 committed by GitHub
parent 20820f5a5a
commit d66e3f953e
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"],
});