output iso week date on sum week
This commit is contained in:
parent
481e58df34
commit
3fa11ebaee
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue