Commit fceb2ecbb4a09f78f9818eb4dcd94b85bb91d5e5

Authored by Georg Hopp
1 parent 9160fb56

Add weekday name to logged times

Showing 1 changed file with 2 additions and 1 deletions
... ... @@ -125,7 +125,8 @@ function printtimes() {
125 125 for T in "$@"
126 126 do
127 127 extracttime "$T"
128   - printf "%51s: %s\n" "spent - $TIMEKEY" "$TIME"
  128 + printf "%37s%-4s%10s: %s\n" "spent - " "$(date -d "$TIMEKEY" +%a)" \
  129 + "$TIMEKEY" "$TIME"
129 130 done
130 131 }
131 132
... ...
Please register or login to post a comment