Correction d'un bug dans le script ligne 86 base decimale forcée (#3528)
This commit is contained in:
parent
0bab6f939f
commit
bbe505ed41
@ -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
|
||||
month="${year}0$precedingMonth"
|
||||
|
Loading…
Reference in New Issue
Block a user