Change data format to make backup name easier to read
This commit is contained in:
@@ -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')),
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user