Fix weather hourly forecast time for <12hr times

master
Miles Alan 5 years ago
parent 383c52380f
commit 4fe129882d
  1. 2
      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=""

Loading…
Cancel
Save