NDOJ/templates/widgets/relative-time.html

7 lines
237 B
HTML
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
{% spaceless %}
2023-01-27 23:11:10 +00:00
<span data-iso="{{ time|utc|date('c') }}" class="time-with-rel" title="{{ time|date(format) }}"
data-format="{{ rel_format }}">
{{ abs_format.replace('{time}', time|date(format)) }}
</span>
2020-01-21 06:35:58 +00:00
{% endspaceless %}