diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-07-20 08:45:14 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-07-20 08:45:14 +0100 |
commit | 0b2e02c3d6bab46ef71fa60f50b04a05cb9141a4 (patch) | |
tree | 46a6f31c4fdd5ea4ad33839c8d1d0992a981b9ab | |
parent | 3f49ac14d1ae70cdb79e956731064086d40f6ef4 (diff) |
changes to format
-rwxr-xr-x | timelog.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,12 +6,12 @@ timelog="/home/lemon/Documents/Budget/ledger/2021/timetracking.ledger" # clock in _t_in() { - printf "\ni %s %s\n" "$(date '+%Y-%m-%d %H:%M:%S')" "$*" >> "$timelog" + printf "i %s %s\n" "$(date '+%Y-%m-%d %H:%M:%S')" "$*" >> "$timelog" } # clock out _t_out() { - printf "o %s %s\n" "$(date '+%Y-%m-%d %H:%M:%S')" "$*" >> "$timelog" + printf "o %s %s" "$(date '+%Y-%m-%d %H:%M:%S')" "$*" >> "$timelog" } _t_cur() { |