fixed date

This commit is contained in:
2023-04-02 01:20:08 -04:00
parent fc48abb56f
commit 281f52932e

View File

@@ -21,7 +21,7 @@ mkdir -p "$LOG_DIR"
mv "$LOG_DIR/sway.log" "$LOG_DIR/sway.log.latest" mv "$LOG_DIR/sway.log" "$LOG_DIR/sway.log.latest"
# print date and time information at the top of the log file # 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 the number of previous log files
count=1 count=1