Add timezone to emails
Add timezone to emails. I get emails form many devices and am not sure which timezone the device uses.
While I figure out how to do code submits here is the simple fix.
$ git diff
diff --git a/src/scripts/notifier b/src/scripts/notifier
index b35688b..15a7405 100755
--- a/src/scripts/notifier
+++ b/src/scripts/notifier
@@ -162,7 +162,7 @@ schedule_restart() {
if [ "$lang" = "cs" ]; then
echo -e "Zařízení bude automaticky restartováno dne $($date_cmd '+%d. %m. %Y v %H:%M' -d "$wanted_time").\n" >> "$1"
else
- echo -e "The device will be restarted automatically on $($date_cmd '+%A, %B %e at %I:%M %p' -d "$wanted_time").\n" >> "$1"
+ echo -e "The device will be restarted automatically on $($date_cmd '+%A, %B %e at %I:%M %p %Z' -d "$wanted_time").\n" >> "$1"
fi
}