Updated date formatting

ref DES-937

- updated the format to DD MMM YYYY which is the preferred format in Ghost
This commit is contained in:
Sodbileg Gansukh
2024-12-05 12:39:04 +08:00
parent e29691b46e
commit 037dd8a8e2
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ which templates loop over to generate a list of posts. --}}
</a>
<footer class="post-card-meta">
<time class="post-card-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
<time class="post-card-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
{{#if reading_time}}
<span class="post-card-meta-length">{{reading_time}}</span>
{{/if}}