NDOJ/templates/widgets/relative-time.html
2020-01-21 15:35:58 +09:00

6 lines
251 B
HTML

{% spaceless %}
<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>
{% endspaceless %}