diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-03-15 20:14:12 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-03-15 10:38:53 +0100 |
| commit | aab2b50efa1298ba8a5dd1f21f05c306ee8ea4d1 (patch) | |
| tree | 07e6838f44220eeb091b398f67844d9946e18111 | |
| parent | bdc4e74ccf3c4b790181e4a4c03c7512080a0002 (diff) | |
| download | kristall-aab2b50efa1298ba8a5dd1f21f05c306ee8ea4d1.tar.gz | |
man: fix date
The month in the date was set to the 'minute' that the help file was last modified
| -rwxr-xr-x | doc/gen-man.sh | 2 |
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. |
