Yasin 2 months ago committed by GitHub
commit e8134407f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -62,8 +62,8 @@ class Discord extends NotificationProvider {
value: monitorJSON["type"] === "push" ? "Heartbeat" : address, value: monitorJSON["type"] === "push" ? "Heartbeat" : address,
}, },
{ {
name: `Time (${heartbeatJSON["timezone"]})`, name: "Time",
value: heartbeatJSON["localDateTime"], value: `<t:${Math.floor((new Date(heartbeatJSON["time"])).getTime() / 1000)}:f>`,
}, },
{ {
name: "Error", name: "Error",
@ -97,8 +97,8 @@ class Discord extends NotificationProvider {
value: monitorJSON["type"] === "push" ? "Heartbeat" : address, value: monitorJSON["type"] === "push" ? "Heartbeat" : address,
}, },
{ {
name: `Time (${heartbeatJSON["timezone"]})`, name: "Time",
value: heartbeatJSON["localDateTime"], value: `<t:${Math.floor((new Date(heartbeatJSON["time"])).getTime() / 1000)}:f>`,
}, },
{ {
name: "Ping", name: "Ping",

Loading…
Cancel
Save