From 281f52932e08694d5616756bbef87fa1b736b725 Mon Sep 17 00:00:00 2001 From: emma Date: Sun, 2 Apr 2023 01:20:08 -0400 Subject: [PATCH] fixed date --- startsway | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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