From 3859485b689c234eaaf7f9c9775c177cc2b8beed Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 30 Aug 2019 00:24:02 +0200 Subject: [PATCH] Change data format to make backup name easier to read --- wo/cli/plugins/clean.py | 2 +- wo/core/variables.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/clean.py b/wo/cli/plugins/clean.py index 7d7acfa..2638dc3 100644 --- a/wo/cli/plugins/clean.py +++ b/wo/cli/plugins/clean.py @@ -20,7 +20,7 @@ class WOCleanController(CementBaseController): stacked_on = 'base' stacked_type = 'nested' description = ( - 'Clean NGINX FastCGI cache, Opcache, Memcached, Redis Cache') + 'Clean NGINX FastCGI cache, Opcache, Redis Cache') arguments = [ (['--all'], dict(help='Clean all cache', action='store_true')), diff --git a/wo/core/variables.py b/wo/core/variables.py index 5a01107..61a06eb 100644 --- a/wo/core/variables.py +++ b/wo/core/variables.py @@ -22,7 +22,7 @@ class WOVariables(): wo_wpcli_path = '/usr/local/bin/wp' # Current date and time of System - wo_date = datetime.datetime.now().strftime('%d%b%Y%H%M%S') + wo_date = datetime.datetime.now().strftime('%d%b%Y-%H-%M-%S') # WordOps core variables wo_distro = distro.linux_distribution(