diff --git a/Plan Borg/bin/doreport b/Plan Borg/bin/doreport index 32749f3..56f1391 100755 --- a/Plan Borg/bin/doreport +++ b/Plan Borg/bin/doreport @@ -20,6 +20,10 @@ convert_duration() if [[ $input =~ ([0-9\.]+)\ seconds ]]; then seconds=${BASH_REMATCH[1]} seconds=$(roundn $seconds) + if [ $seconds -eq "60" ]; then + seconds=0 + minutes=$(($minutes+1)) + fi else seconds=0 fi