Prevent relative time conversion failure on Safari

This commit is contained in:
Cotes Chung 2022-01-25 01:18:25 +08:00
parent 66e655f09b
commit a24545ed60

View file

@ -8,7 +8,7 @@
{% assign post_short_df = site.data.locales[lang].date_format.post.short %}
<em class="timeago{% if include.class %} {{ include.class }}{% endif %}"
date="{{ include.date }}"
date="{{ include.date | date_to_xmlschema }}"
{% if include.tooltip %}
data-toggle="tooltip"
data-placement="bottom"