diff --git a/component/scripts/backup.sh b/component/scripts/backup.sh index 84824c8..d2f1f90 100644 --- a/component/scripts/backup.sh +++ b/component/scripts/backup.sh @@ -2,7 +2,7 @@ set -eu -day=$(date +%d) +day=$(date +%-d) echo "It is day ${day} of the month. My backup journey will never end!" diff --git a/tests/golden/defaults/rotating-bucket-backup/rotating-bucket-backup/10_jobs.yaml b/tests/golden/defaults/rotating-bucket-backup/rotating-bucket-backup/10_jobs.yaml index db49d67..c1f2a6f 100644 --- a/tests/golden/defaults/rotating-bucket-backup/rotating-bucket-backup/10_jobs.yaml +++ b/tests/golden/defaults/rotating-bucket-backup/rotating-bucket-backup/10_jobs.yaml @@ -646,7 +646,7 @@ data: set -eu - day=$(date +%d) + day=$(date +%-d) echo "It is day ${day} of the month. My backup journey will never end!"