mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 00:09:14 +00:00
修改 mytags位置
This commit is contained in:
@@ -48,6 +48,7 @@ INSTALLED_APPS = (
|
||||
'django.contrib.staticfiles',
|
||||
'UserManage',
|
||||
'Assets',
|
||||
'AutoSa',
|
||||
#'RunCommand',
|
||||
)
|
||||
|
||||
|
@@ -7,6 +7,6 @@ register = template.Library()
|
||||
@register.filter(name='stamp2str')
|
||||
def stamp2str(value):
|
||||
try:
|
||||
return time.strftime('%Y/%m/%d %H:%M:%S',time.localtime(value))
|
||||
return time.strftime('%Y/%m/%d %H:%M:%S', time.localtime(value))
|
||||
except AttributeError:
|
||||
return '0000/00/00 00:00:00'
|
Reference in New Issue
Block a user