Name no home path in settings or agents, and show reset times in the host time zone
This commit was merged in pull request #15.
This commit is contained in:
+2
-4
@@ -56,14 +56,12 @@ reset_suffix() {
|
||||
fi
|
||||
|
||||
fmt='%H:%M'
|
||||
[ "$(TZ=$TZ_LOCAL date -d "@$epoch" +%F 2>/dev/null)" != "$(TZ=$TZ_LOCAL date +%F)" ] && fmt='%a %H:%M'
|
||||
at=$(TZ=$TZ_LOCAL date -d "@$epoch" "+$fmt" 2>/dev/null)
|
||||
[ "$(date -d "@$epoch" +%F 2>/dev/null)" != "$(date +%F)" ] && fmt='%a %H:%M'
|
||||
at=$(date -d "@$epoch" "+$fmt" 2>/dev/null)
|
||||
[ -n "$at" ] && printf ' (%s)' "$at"
|
||||
printf '%s' "$RESET"
|
||||
}
|
||||
|
||||
TZ_LOCAL=Europe/Stockholm
|
||||
|
||||
row1=()
|
||||
row2=()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user