summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-05-31 17:18:37 +0200
committerGitHub <noreply@github.com>2019-05-31 17:18:37 +0200
commitce71603f8f9f37ad7e05c9094bdadd72165417f9 (patch)
treed6f877ca3fd27567a91aa1568966c77bac69c981
parent06ceaa2309bbc4261e295b800cf7331badebf6ca (diff)
Correct date used in pushbullet notifications (#6179)
-rwxr-xr-xhealth/notifications/alarm-notify.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/notifications/alarm-notify.sh.in b/health/notifications/alarm-notify.sh.in
index ff4b3f3dc9..99a0982ef2 100755
--- a/health/notifications/alarm-notify.sh.in
+++ b/health/notifications/alarm-notify.sh.in
@@ -1953,7 +1953,7 @@ send_pushbullet "${PUSHBULLET_ACCESS_TOKEN}" "${PUSHBULLET_SOURCE_DEVICE}" "${to
Severity: ${severity}\\n
Chart: ${chart}\\n
Family: ${family}\\n
-$(date -d @${when})\\n
+${date}\\n
The source of this alarm is line ${src}"
SENT_PUSHBULLET=$?