2020-07-23 17:23:31 +03:00
|
|
|
<!--
|
|
|
|
Date format snippet
|
2021-12-04 01:56:33 +03:00
|
|
|
See: ${JS_ROOT}/utils/timeago.js
|
2020-07-23 17:23:31 +03:00
|
|
|
-->
|
2021-01-23 22:02:19 +03:00
|
|
|
|
2021-12-04 01:56:33 +03:00
|
|
|
<em class="timeago{% if include.class %} {{ include.class }}{% endif %}"
|
2022-01-26 17:06:44 +03:00
|
|
|
data-ts="{{ include.date | date: '%s' }}"
|
2021-12-04 01:56:33 +03:00
|
|
|
{% if include.tooltip %}
|
2022-01-26 17:06:44 +03:00
|
|
|
data-toggle="tooltip" data-placement="bottom" data-tooltip-df="llll"
|
|
|
|
{% endif %}
|
|
|
|
{% if include.capitalize %}
|
|
|
|
data-capitalize="true"
|
2021-12-04 01:56:33 +03:00
|
|
|
{% endif %}>
|
2022-01-26 17:06:44 +03:00
|
|
|
{{ include.date | date: '%Y-%m-%d' }}
|
2021-12-04 01:56:33 +03:00
|
|
|
</em>
|