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:
2026-09-24 22:25:35 +02:00
parent 0b17b43fb1
commit 332e3f7304
7 changed files with 9 additions and 11 deletions
+2 -4
View File
@@ -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=()