This commit is contained in:
miampf 2024-01-31 17:24:42 +01:00
parent 14c1af3cf2
commit 3de77d93e4
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C

View File

@ -43,7 +43,7 @@ end_date=$(date --date "-7 day" "+%Y-%m-%d")
dates_to_clean=()
# get all dates of the last week
while [[ "$end_date" != "$start_date" ]]; do
while [[ $end_date != "$start_date" ]]; do
dates_to_clean+=($end_date)
end_date=$(date --date "$end_date +1 day" "+%Y-%m-%d")
done