You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
296 B
HTML
9 lines
296 B
HTML
{% import "components/user.html" as user with context %}
|
|
{% macro render_time(tdoc_time) %}
|
|
{{ datetime_span(tdoc_time, false, '%Y-%m-%d %H:%M')|safe }}
|
|
{% endmacro %}
|
|
|
|
{% macro render_duration(tdoc) %}
|
|
{{ ((tdoc.endAt.getTime() - tdoc.beginAt.getTime()) /1000 / 3600)|round(1) }}
|
|
{% endmacro %}
|