Corrected bug in rapport_activite.sh (#3528)
This commit is contained in:
parent
163630bc66
commit
6030c3da3a
@ -103,6 +103,7 @@ elif [ "$#" = 1 ] && [ "$1" = "-p" ]; then
|
||||
else
|
||||
precedingMonth=12
|
||||
year="$(($(date +%Y)-1))"
|
||||
month="$year$precedingMonth"
|
||||
fi
|
||||
monthEnglish=$(LANG=en_EN.UTF-8;date -d $year-$precedingMonth-01 +%b)
|
||||
echo -e "Rapport d'activité du service date.chapril.org du mois $monthEnglish $year"
|
||||
|
Loading…
Reference in New Issue
Block a user