Change data format to make backup name easier to read

This commit is contained in:
VirtuBox
2019-08-30 00:24:02 +02:00
parent 08aca8b50b
commit 3859485b68
2 changed files with 2 additions and 2 deletions

View File

@@ -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')),

View File

@@ -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(