From 399526352fb9181fcb21f6caace5bf4056ca6cdb Mon Sep 17 00:00:00 2001 From: cpanato Date: Tue, 12 Sep 2017 16:23:02 +0200 Subject: [PATCH] ci: add more date format when grafiti apply the cleanning --- installer/scripts/maintenance/clean-aws.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installer/scripts/maintenance/clean-aws.sh b/installer/scripts/maintenance/clean-aws.sh index d5cb5f9655..0d0eff158c 100755 --- a/installer/scripts/maintenance/clean-aws.sh +++ b/installer/scripts/maintenance/clean-aws.sh @@ -128,7 +128,10 @@ fi if [ -z "$tag_file" ]; then tag_file="$(mktemp -p "$tmp_dir")" - date_string="$(date "+%Y-%m-%d" -d "-1 day")\",\"$(date "+%Y-%-m-%-d" -d "-1 day")\",\"$(date +%Y-%m-%d)\",\"$(date +%Y-%-m-%-d)" + date_string="$(date "+%Y-%m-%d" -d "-1 day")\",\"$(date "+%Y-%-m-%-d" -d "-1 day")\", + \"$(date "+%m-%-d-%-Y" -d "-1 day")\",\"$(date "+%-m-%-d-%-Y" -d "-1 day")\",\"$(date "+%d-%m-%-Y" -d "-1 day")\", + \"$(date "+%d-%-m-%-Y" -d "-1 day")\",\"$(date +%m-%d-%Y)\",\"$(date +%d-%m-%Y)\", + \"$(date +%d-%-m-%Y)\",\"$(date +%Y-%m-%d)\",\"$(date +%Y-%-m-%-d)" if [ -n "$date_override" ]; then date_string="$date_override" fi