🐛 Fixed "Published" date for recent posts in dashboard always showing current time

no issue

- switched to the actual published at property name
- wrapped date in `{{moment-site-tz}}` so the site-local time is shown
This commit is contained in:
Kevin Ansfield 2022-07-08 12:34:58 +02:00
parent 04d27fac5f
commit c06692a2fb

View File

@ -51,7 +51,7 @@
</div>
{{else}}
<div class="gh-dashboard-list-item-sub">
<span class="gh-dashboard-list-subtext">{{moment-format post.published_at "D MMM YYYY HH:mm"}}</span>
<span class="gh-dashboard-list-subtext">{{moment-format (moment-site-tz post.publishedAtUTC) "D MMM YYYY HH:mm"}}</span>
</div>
{{/if}}
</LinkTo>