diff --git a/startsway b/startsway index 76338db..5d07c11 100755 --- a/startsway +++ b/startsway @@ -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