Merge pull request #3203 from CommanderStorm/applied_timezone_formatting

chore: Made sure that every notification provider uses `timezone`/`localTime`
This commit is contained in:
Louis Lam
2023-05-30 20:36:32 +08:00
committed by GitHub
11 changed files with 40 additions and 25 deletions

View File

@@ -33,7 +33,7 @@ class Pushover extends NotificationProvider {
await axios.post(pushoverlink, data);
return okMsg;
} else {
data.message += "\n<b>Time (UTC)</b>:" + heartbeatJSON["time"];
data.message += `\n<b>Time (${heartbeatJSON["timezone"]})</b>:${heartbeatJSON["localDateTime"]}`;
await axios.post(pushoverlink, data);
return okMsg;
}