reverse date format

This commit is contained in:
jaina heartles 2025-01-01 21:29:32 -05:00
parent b71910e379
commit 94a140223c

View file

@ -86,7 +86,7 @@ in {
bucket="$(grep 'bucket=' < "${backupConfigFile}" | sed 's/bucket \?= \?//g')"
prefix="$(grep 'prefix=' < "${backupConfigFile}" | sed 's/prefix \?= \?//g')"
s3Dir="s3://$bucket/$prefix""misskey-$(date +'%d-%m-%YT%H.%M.%S')"
s3Dir="s3://$bucket/$prefix""misskey-$(date +'%Y-%m-%dT%H.%M.%S')"
echo "Uploading backups to '$s3Dir'"
function upload () {