Correction d'un bug dans le script ligne 86 base décimale forcée (#3529)
This commit is contained in:
parent
4d12ffbc4f
commit
6688d8153d
@ -83,7 +83,7 @@ if [ "$#" = 1 ] && [ "$1" = "-h" ]; then
|
||||
help
|
||||
elif [ "$#" = 1 ] && [ "$1" = "-p" ]; then
|
||||
if [ "$(date +%m)" -gt 1 ]; then
|
||||
precedingMonth="$(($(date +%m)-1))"
|
||||
precedingMonth="$((10#$(date +%m)-1))"
|
||||
year="$(date +%Y)"
|
||||
if [ $precedingMonth -lt 10 ]; then
|
||||
yearMonth="$year-0$precedingMonth"
|
||||
|
Loading…
Reference in New Issue
Block a user