🐛 Fixed incorrect scheduled date in toast (#1663)

closes https://github.com/TryGhost/Ghost/issues/12102

- The scheduled date was incorrectly shown as month number in the toast box after scheduling
- Updates to correctly show the selected date
This commit is contained in:
Roshan Dash 2020-08-04 13:04:24 +05:30 committed by GitHub
parent 03115d63dd
commit 3eb8830cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -846,7 +846,7 @@ export default Controller.extend({
}
}
description.push(`on <span><strong>${publishedAtBlogTZ.format('MMM Mo')}</strong></span>`);
description.push(`on <span><strong>${publishedAtBlogTZ.format('MMM Do')}</strong></span>`);
description.push(`at <span><strong>${publishedAtBlogTZ.format('HH:mm')}</strong>`);
if (publishedAtBlogTZ.utcOffset() === 0) {