diff --git a/kv-secret-scan.sh b/kv-secret-scan.sh index 09198ca..e1b8233 100755 --- a/kv-secret-scan.sh +++ b/kv-secret-scan.sh @@ -2,8 +2,8 @@ set -e TZ=Europe/London -TODAY=$(date -Idate) -DATE_90=$(date -Iseconds -v+90d) +TODAY=$(gdate -Idate) +DATE_90=$(gdate --date="90 days ago" +"%Y-%m-%d") SILENT=0 NOTIFY=1