aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/gen-man.sh2
1 files changed, 1 insertions, 1 deletions
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.