Fixes localization weirdness with dates

This commit is contained in:
Mouse Reeve
2021-04-19 16:18:29 -07:00
parent d69ce8cbbd
commit 70a819951e
3 changed files with 2 additions and 24 deletions

View File

@ -39,7 +39,7 @@
{% endif %}
<p>
{% with date=book.published_date|date:'M jS Y' publisher=book.publishers|join:', ' %}
{% with date=book.published_date|date:'M j Y' publisher=book.publishers|join:', ' %}
{% if date or book.first_published_date %}
<meta
itemprop="datePublished"

View File

@ -65,7 +65,7 @@
</div>
<div class="card-footer-item">
<a href="{{ status.remote_id }}">{{ status.published_date | post_date }}</a>
<a href="{{ status.remote_id }}">{{ status.published_date|timesince }}</a>
</div>
{% if not moderation_mode %}
<div class="card-footer-item">