mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-06 14:04:17 -04:00
tidy
This commit is contained in:
parent
14c1af3cf2
commit
3de77d93e4
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ end_date=$(date --date "-7 day" "+%Y-%m-%d")
|
||||||
dates_to_clean=()
|
dates_to_clean=()
|
||||||
|
|
||||||
# get all dates of the last week
|
# get all dates of the last week
|
||||||
while [[ "$end_date" != "$start_date" ]]; do
|
while [[ $end_date != "$start_date" ]]; do
|
||||||
dates_to_clean+=($end_date)
|
dates_to_clean+=($end_date)
|
||||||
end_date=$(date --date "$end_date +1 day" "+%Y-%m-%d")
|
end_date=$(date --date "$end_date +1 day" "+%Y-%m-%d")
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue