Enable custom column datetime (adv. search not working yet) #1984

This commit is contained in:
Ozzie Isaacs
2021-05-13 10:39:36 +02:00
parent 9ef705650b
commit b0cc52e0aa
5 changed files with 29 additions and 10 deletions

View File

@@ -193,6 +193,8 @@
{% else %}
{% if c.datatype == 'float' %}
{{ column.value|formatfloat(2) }}
{% elif c.datatype == 'datetime' %}
{{ column.value|formatdate }}
{% else %}
{% if c.datatype == 'series' %}
{{ '%s [%s]' % (column.value, column.extra|formatfloat(2)) }}