From 71b93407f26de27238c3d71cd1153e16a87b6a0e Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 11 Sep 2018 13:23:58 +0200 Subject: [PATCH] Changed to fit ISO8601 See https://github.com/tmux-plugins/tmux-resurrect/pull/272#issuecomment-419934801 --- scripts/helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helpers.sh b/scripts/helpers.sh index c5db1c0..8a8ea12 100644 --- a/scripts/helpers.sh +++ b/scripts/helpers.sh @@ -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"