From aab2b50efa1298ba8a5dd1f21f05c306ee8ea4d1 Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Mon, 15 Mar 2021 20:14:12 +1100 Subject: man: fix date The month in the date was set to the 'minute' that the help file was last modified --- doc/gen-man.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/gen-man.sh b/doc/gen-man.sh index 19da642..b0e6f06 100755 --- a/doc/gen-man.sh +++ b/doc/gen-man.sh @@ -45,7 +45,7 @@ fi cp "$man_head" "$man_output" # Insert last modified date (use last-modified date of help.gemini) -last_modified=$(date -r "$gemtext_in" +"%Y-%M-%d") +last_modified=$(date -r "$gemtext_in" +"%F") sed -i "$man_output" -e 's#\$(DATE)#'"$last_modified"'#g' # Some pre-processing before giving our gemtext to the awk script. -- cgit v1.2.3