From 4078e4b06b8df2841e93f04890eaca546fdf8da2 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Sat, 17 Sep 2016 22:41:03 +0200 Subject: [PATCH] Add config-option datetimeformat for tsstats.template.render_template(datetime_fmt) --- tsstats/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsstats/config.py b/tsstats/config.py index f9286f4..79dde4e 100644 --- a/tsstats/config.py +++ b/tsstats/config.py @@ -17,7 +17,8 @@ DEFAULT_CONFIG = { 'output': 'output.html', 'idmap': '', 'onlinedc': True, - 'template': 'template.html' + 'template': 'template.html', + 'datetimeformat': '%x %X %Z' } }