formatting

This commit is contained in:
KeeganForelight 2023-01-24 20:44:21 -05:00
parent 38ee58a21c
commit 9e5c0efee6

View File

@ -109,7 +109,7 @@ totalHours() {
# add to total
hours=$(($hours + 10#$(echo "$time" | awk -F : '{print $1}')))
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
hours=$(($hours + $mins/60)) # overflow
mins=$(($mins%60))