2022-04-25 19:39:58 +03:00
|
|
|
<!--
|
|
|
|
Date format snippet
|
|
|
|
See: ${JS_ROOT}/utils/locale-dateime.js
|
|
|
|
-->
|
|
|
|
|
2023-05-06 02:22:29 +03:00
|
|
|
{% assign df_strftime = site.data.locales[include.lang].df.post.strftime | default: '%d/%m/%Y' %}
|
|
|
|
{% assign df_dayjs = site.data.locales[include.lang].df.post.dayjs | default: 'DD/MM/YYYY' %}
|
2022-04-25 19:39:58 +03:00
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
<time
|
|
|
|
{% if include.class %}
|
|
|
|
class="{{ include.class }}"
|
|
|
|
{% endif %}
|
2023-05-06 02:22:29 +03:00
|
|
|
data-ts="{{ include.date | date: '%s' }}"
|
|
|
|
data-df="{{ df_dayjs }}"
|
|
|
|
{% if include.tooltip %}
|
2023-04-10 05:54:27 +03:00
|
|
|
data-bs-toggle="tooltip" data-bs-placement="bottom"
|
2023-05-06 02:22:29 +03:00
|
|
|
{% endif %}
|
|
|
|
>
|
2022-04-25 19:39:58 +03:00
|
|
|
{{ include.date | date: df_strftime }}
|
2023-09-08 17:48:37 +03:00
|
|
|
</time>
|