From 4fe129882dbabc039ff9412f8fef0e825fea0de1 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Sat, 11 Jul 2020 09:52:13 -0500 Subject: [PATCH] Fix weather hourly forecast time for <12hr times --- scripts/appscripts/sxmo_weather.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/appscripts/sxmo_weather.sh b/scripts/appscripts/sxmo_weather.sh index d107506..06ef855 100755 --- a/scripts/appscripts/sxmo_weather.sh +++ b/scripts/appscripts/sxmo_weather.sh @@ -56,7 +56,7 @@ printtables() { if [ "$NOWHR" -gt "12" ]; then INDENTN="$(echo "$NOWHR - 12" | bc)" else - INDENTN="$(echo "12 - $NOWHR" | bc)" + INDENTN="$(echo "$NOWHR" | bc)" fi fi INDENT=""