Fix more TZ bugs; warn if TZ name looks suspicious.

This commit is contained in:
Dianne Skoll
2025-10-08 23:07:37 -04:00
parent 21f5462657
commit a19b79951e
6 changed files with 99 additions and 41 deletions

View File

@@ -190,6 +190,11 @@ TZ=America/Toronto $REMIND -s - 2025-10-01 <<'EOF' >> $OUT 2>&1
REM Wednesday AT 14:00 TZ Australia/Sydney MSG 2PM Sydney
EOF
# Every day...
TZ=America/Toronto $REMIND -s - 2025-10-01 <<'EOF' >> $OUT 2>&1
REM AT 04:44 TZ America/Los_Angeles MSG 04:44 in Los Angeles
EOF
cmp -s $OUT $CMP
if [ "$?" = "0" ] ; then
echo "Remind: Time zone tests ${GRN}PASSED${NRM}"