aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-07-20 08:45:14 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-07-20 08:45:14 +0100
commit0b2e02c3d6bab46ef71fa60f50b04a05cb9141a4 (patch)
tree46a6f31c4fdd5ea4ad33839c8d1d0992a981b9ab
parent3f49ac14d1ae70cdb79e956731064086d40f6ef4 (diff)
changes to format
-rwxr-xr-xtimelog.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/timelog.sh b/timelog.sh
index e898ef1..b2435f7 100755
--- a/timelog.sh
+++ b/timelog.sh
@@ -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() {