From 00ae04adf84c74a2c0d7a68e8683879cd3119cbe Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 30 Apr 2023 15:44:21 -0700 Subject: [PATCH] man/fill_template: Use numeric year-month-date for manpage. The month may be rendered for the locale of the build environment. https://reproducible-builds.org/docs/locales/ --- man/fill_template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/fill_template b/man/fill_template index 368cb1b0..d1df18d7 100644 --- a/man/fill_template +++ b/man/fill_template @@ -4,8 +4,8 @@ d="" if [ "$2" == "True" ]; then for i in *.0 ; do - sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date $d '+%B %Y'`/g" < ${i} > ${i%%0}1 + sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date $d '+%Y-%m-%d'`/g" < ${i} > ${i%%0}1 done else - sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date $d '+%B %Y'`/g" < jackd.0 > jackd.1 + sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date $d '+%Y-%m-%d'`/g" < jackd.0 > jackd.1 fi