add timezone to output of tsstats.template.render_template.frmttime

This commit is contained in:
Thor77 2016-07-04 21:11:34 +02:00
parent ea64ee0ecb
commit 477ca7d739
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def render_template(clients, output, title='TeamspeakStats'):
def frmttime(timestamp):
if not timestamp:
return ''
return timestamp.strftime('%x %X')
return timestamp.strftime('%x %X %Z')
template_env.filters['frmttime'] = frmttime
template = template_env.get_template('template.html')
with open(output, 'w') as f: