summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/lobby_html.jinja2
-rw-r--r--templates/premades_html.jinja2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/lobby_html.jinja b/templates/lobby_html.jinja
index ae0000e..468a2fa 100644
--- a/templates/lobby_html.jinja
+++ b/templates/lobby_html.jinja
@@ -78,7 +78,7 @@
<span class="info">(non-steam)</span>
{% else %}
{% if profile['personastate'] == 0 %}
- <span class="{{ state }}">Offline since {{ display_time(current_time - profile['lastlogoff']) }}</span>
+ <span class="{{ state }}">Offline since {{ (current_time - profile['lastlogoff']) | display_time }}</span>
{% else %}
<span class="{{ state }}">{{ states[profile['personastate']] }}</span>
{% endif %}
diff --git a/templates/premades_html.jinja b/templates/premades_html.jinja
index c9ad464..7a45492 100644
--- a/templates/premades_html.jinja
+++ b/templates/premades_html.jinja
@@ -138,7 +138,7 @@
<img src="{{ profiles[steamid]['avatarmedium'] }}"><br />
{{ profiles[steamid]['personaname']|e }}
{% if 'timecreated' in profiles[steamid] %}
- <br />{{ display_time(current_time - profiles[steamid]['timecreated']) }}
+ <br />{{ (current_time - profiles[steamid]['timecreated']) | display_time }}
{% endif %}
</a>
</div>