From 477ca7d739cd0aad6a4c42f8e24d2c83289e8c88 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Mon, 4 Jul 2016 21:11:34 +0200 Subject: [PATCH] add timezone to output of tsstats.template.render_template.frmttime --- tsstats/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsstats/template.py b/tsstats/template.py index 162281b..1384fa3 100644 --- a/tsstats/template.py +++ b/tsstats/template.py @@ -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: