Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
3fa11ebaee | |||
481e58df34 |
1 changed files with 2 additions and 1 deletions
1
punchclock
Normal file → Executable file
1
punchclock
Normal file → Executable file
|
@ -219,6 +219,7 @@ function command_sum {
|
||||||
# date does not accept ISO8601 calendar weeks as input,
|
# date does not accept ISO8601 calendar weeks as input,
|
||||||
# we need to convert to regular ISO8601 %Y-%m-%d first
|
# we need to convert to regular ISO8601 %Y-%m-%d first
|
||||||
local MONDAY_DATE=$(dateconv -f %Y-%m-%d $MONDAY_WEEKDAY)
|
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
|
_print_sum_for_multiple_days $MONDAY_DATE 6
|
||||||
;;
|
;;
|
||||||
"days")
|
"days")
|
||||||
|
|
Loading…
Reference in a new issue