From 4d0425a017dd1d9436cef21bea2643f9e3da55aa Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 25 Nov 2022 14:12:26 +0800 Subject: Make certbot better. --- docker/auto-backup/daemon.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/auto-backup') diff --git a/docker/auto-backup/daemon.bash b/docker/auto-backup/daemon.bash index 845ad38..9098e94 100755 --- a/docker/auto-backup/daemon.bash +++ b/docker/auto-backup/daemon.bash @@ -17,8 +17,8 @@ function backup { # Output "Begin backup..." in yellow and restore default echo -e "\e[0;103m\e[K\e[1mBegin backup..." "\e[0m" - # Get current time and convert it to YYYY-MM-DDTHH:MM:SS - current_time=$(date +%Y-%m-%dT%H:%M:%S) + # Get current time and convert it to YYYY-MM-DDTHH:MM:SSZ + current_time=$(date +%Y-%m-%dT%H:%M:%SZ) echo "Current time: $current_time" echo "Create tar.xz for data..." -- cgit v1.2.3