Fix weather hourly forecast time for <12hr times

master
Miles Alan 4 years ago
parent 383c52380f
commit 4fe129882d
  1. 2
      scripts/appscripts/sxmo_weather.sh

@ -56,7 +56,7 @@ printtables() {
if [ "$NOWHR" -gt "12" ]; then if [ "$NOWHR" -gt "12" ]; then
INDENTN="$(echo "$NOWHR - 12" | bc)" INDENTN="$(echo "$NOWHR - 12" | bc)"
else else
INDENTN="$(echo "12 - $NOWHR" | bc)" INDENTN="$(echo "$NOWHR" | bc)"
fi fi
fi fi
INDENT="" INDENT=""

Loading…
Cancel
Save