Browse Source

Corrected bug in tools/rapport_activite.sh (#3992)

chapril-1.2.1
Didier Clermonté 2 years ago
committed by root
parent
commit
3089fde107
  1. 1
      tools/rapport_activite.sh

1
tools/rapport_activite.sh

@ -105,6 +105,7 @@ elif [ "$#" = 1 ] && [ "$1" = "-p" ]; then
else [ "$(date +%m)" -eq 1 ]
precedingMonth=12
year="$(($(date +%Y)-1))"
yearMonth="$year-$precedingMonth"
fi
monthEnglish=$(LANG=en_EN.UTF-8;date -d $year-$precedingMonth-01 +%b)
echo -e "Rapport d'activité du service paste.chapril.org du mois $monthEnglish $year"

Loading…
Cancel
Save