Skip to content
Snippets Groups Projects
Verified Commit 327b268a authored by Guillaume Damiens's avatar Guillaume Damiens
Browse files

correction deadline

parent fe6dc24f
No related branches found
No related tags found
1 merge request!37Tx services p19 test
......@@ -9,7 +9,8 @@ boardExpirationDurationMonths=${boardExpirationDurationMonths-12} # mois
boardExpirationDurationDays=${boardExpirationDurationDays-0} # jours
url=${url-"https://wekan.test.picasoft.net"}
# Deadline = somme des durées du dessus
deadlineTimeStamp=$(date -d "-"$boardExpirationDurationYears"years-"$boardExpirationDurationMonths"months-"$boardExpirationDurationDays"days" +%s)
deadlineTimeStamp=$(date --date $boardExpirationDurationYears" years ago "$boardExpirationDurationMonths" months ago "$boardExpirationDurationDays" days ago" +%s)
delete=false
while getopts "d" option
do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment