output iso week date on sum week

This commit is contained in:
Jan Koppe 2023-07-31 07:33:03 +02:00
parent 481e58df34
commit 3fa11ebaee
Signed by: j
GPG Key ID: BE935B0735A2129B
1 changed files with 2 additions and 1 deletions

View File

@ -219,6 +219,7 @@ function command_sum {
# date does not accept ISO8601 calendar weeks as input,
# we need to convert to regular ISO8601 %Y-%m-%d first
local MONDAY_DATE=$(dateconv -f %Y-%m-%d $MONDAY_WEEKDAY)
echo ; echo -e "Summary for week \033[1m${MONDAY_WEEKDAY}\033[0m" ; echo
_print_sum_for_multiple_days $MONDAY_DATE 6
;;
"days")
@ -337,4 +338,4 @@ while [[ $# -gt 0 ]]; do
usage
;;
esac
done
done