0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Updated date notation (#20915)

refs
https://linear.app/tryghost/issue/DES-771/publish-flow-modal-shows-the-wrong-published-time-for-scheduled-posts

Scheduled post's date and time was shown as the date of creation, not
the date it was going to be scheduled. This fixes that.
This commit is contained in:
Daniël van der Winden 2024-09-04 09:20:14 +02:00 committed by GitHub
parent b6407f2d45
commit 678a0c2b9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,7 @@
{{/let}}
{{/if}}
{{#let (moment-site-tz @post.publishedAtUTC) as |scheduledAt|}}
{{#let (moment-site-tz this.post.publishedAtUTC) as |scheduledAt|}}
{{#if (is-moment-today scheduledAt)}}
<strong class="nowrap">today</strong>
{{else}}