Fixes localization weirdness with dates
This commit is contained in:
parent
d69ce8cbbd
commit
70a819951e
3 changed files with 2 additions and 24 deletions
|
@ -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"
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue