add timestamp macro

This commit is contained in:
2025-06-30 17:11:24 +03:00
parent a95200caf9
commit 19bf98f5b5
5 changed files with 16 additions and 5 deletions

View File

@ -38,3 +38,7 @@
</span>
</div>
{% endmacro %}
{% macro timestamp(unix_ts) %}
<span class="timestamp" data-utc="{{ unix_ts }}">{{ unix_ts | ts_datetime('%Y-%m-%d %H:%M')}} ST</span>
{% endmacro %}