fixed date
This commit is contained in:
parent
fc48abb56f
commit
281f52932e
@ -21,7 +21,7 @@ mkdir -p "$LOG_DIR"
|
||||
mv "$LOG_DIR/sway.log" "$LOG_DIR/sway.log.latest"
|
||||
|
||||
# print date and time information at the top of the log file
|
||||
date '+%Y-%d-%mT%T %Z' >"$LOG_DIR/sway.log"
|
||||
date '+%Y-%m-%dT%T %Z' >"$LOG_DIR/sway.log"
|
||||
|
||||
# count the number of previous log files
|
||||
count=1
|
||||
|
Loading…
Reference in New Issue
Block a user