Unverified Commit e5cbe54c authored by Bruno Sutic's avatar Bruno Sutic Committed by GitHub
Browse files

Merge pull request #272 from JBlond/master

Windows file names can not contain a colon
parents 9dc3f8c6 71b93407
......@@ -112,7 +112,7 @@ _RESURRECT_DIR="$(resurrect_dir)"
resurrect_file_path() {
if [ -z "$_RESURRECT_FILE_PATH" ]; then
local timestamp="$(date +"%Y-%m-%dT%H:%M:%S")"
local timestamp="$(date +"%Y%m%dT%H%M%S")"
echo "$(resurrect_dir)/${RESURRECT_FILE_PREFIX}_${timestamp}.${RESURRECT_FILE_EXTENSION}"
else
echo "$_RESURRECT_FILE_PATH"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment