diff --git a/server/notification-providers/dingding.js b/server/notification-providers/dingding.js index 59efd053a..cea0b0a1e 100644 --- a/server/notification-providers/dingding.js +++ b/server/notification-providers/dingding.js @@ -15,7 +15,7 @@ class DingDing extends NotificationProvider { msgtype: "markdown", markdown: { title: `[${this.statusToString(heartbeatJSON["status"])}] ${monitorJSON["name"]}`, - text: `## [${this.statusToString(heartbeatJSON["status"])}] ${monitorJSON["name"]} \n > ${heartbeatJSON["msg"]} \n > Time(UTC):${heartbeatJSON["time"]}`, + text: `## [${this.statusToString(heartbeatJSON["status"])}] ${monitorJSON["name"]} \n> ${heartbeatJSON["msg"]}\n> Time (${heartbeatJSON["timezone"]}): ${heartbeatJSON["localDateTime"]}`, } }; if (this.sendToDingDing(notification, params)) {