Skip to content

Commit fe987af

Browse files
authored
Change date to ISO-8601 format
1 parent e990629 commit fe987af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/defs.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function run-backup() {
4141
fi
4242

4343
hash=$(md5sum $dumpfile | head -c 10)
44-
now="$(date +%Y-%m-%d:%H:%M:%S)"
44+
now="$(date +%Y-%m-%dT%H:%M:%S)"
4545
outfile="$dirname/${dbname}-${hash}-${now}.pg-dump"
4646

4747
>&2 mv $dumpfile $outfile

0 commit comments

Comments
 (0)