aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {