formatting

main
KeeganForelight 2 years ago
parent 38ee58a21c
commit 9e5c0efee6

@ -109,7 +109,7 @@ totalHours() {
# add to total # add to total
hours=$(($hours + 10#$(echo "$time" | awk -F : '{print $1}'))) hours=$(($hours + 10#$(echo "$time" | awk -F : '{print $1}')))
mins=$(($mins + 10#$(echo "$time" | awk -F : '{print $2}'))) mins=$(($mins + 10#$(echo "$time" | awk -F : '{print $2}')))
printf 'So far Today worked %s\n' $time printf 'So far Today, worked %s\n' $time
fi fi
hours=$(($hours + $mins/60)) # overflow hours=$(($hours + $mins/60)) # overflow
mins=$(($mins%60)) mins=$(($mins%60))

Loading…
Cancel
Save