diff options
author | André Glüpker <git@wgmd.de> | 2021-02-16 17:55:14 +0100 |
---|---|---|
committer | André Glüpker <git@wgmd.de> | 2021-02-16 17:55:14 +0100 |
commit | c4db6130dcf2c78b3b0e05bc98d9a830a51dbfe3 (patch) | |
tree | 0bdecf78293e3eac8bd8d91adfdd7b573f3c8755 /templates/premades_html.jinja | |
parent | 35cbe04e67ca59a657bc685f0764a7737115333d (diff) | |
download | steam-c4db6130dcf2c78b3b0e05bc98d9a830a51dbfe3.tar.gz steam-c4db6130dcf2c78b3b0e05bc98d9a830a51dbfe3.tar.bz2 steam-c4db6130dcf2c78b3b0e05bc98d9a830a51dbfe3.zip |
Change format_datetime to be a Jinja2 filter
Diffstat (limited to 'templates/premades_html.jinja')
-rw-r--r-- | templates/premades_html.jinja | 2 |
1 files changed, 1 insertions, 1 deletions
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> |