mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: datetime: timezone support
This commit is contained in:
1 parent
17b6c2f6af
commit
79d5d09ad0
10 files changed
+16
-15
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{% import "components/user.html" as user with context %}
|
||||
{% macro render_time(tdoc_time) %}
|
||||
{{ datetimeSpan(tdoc_time, false, '%Y-%m-%d %H:%M')|safe }}
|
||||
{{ datetimeSpan(tdoc_time, false, 'YYYY-M-D H:mm')|safe }}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro render_duration(tdoc) %}
|
||||
|
||||
Reference in new issue
Block a user