mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 23:36:29 -04:00
tidy
This commit is contained in:
parent
14c1af3cf2
commit
3de77d93e4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user