diff --git a/app/components/gh-posts-list-item.hbs b/app/components/gh-posts-list-item.hbs index d51ae7f20..e98b42039 100644 --- a/app/components/gh-posts-list-item.hbs +++ b/app/components/gh-posts-list-item.hbs @@ -60,7 +60,7 @@
{{#if @post.isScheduled}} - + Scheduled {{/if}} diff --git a/app/helpers/gh-format-post-time.js b/app/helpers/gh-format-post-time.js index 93eeecf6a..454b22404 100644 --- a/app/helpers/gh-format-post-time.js +++ b/app/helpers/gh-format-post-time.js @@ -38,9 +38,9 @@ export function formatPostTime(timeago, {timezone = 'ect/UTC', draft, scheduled, return time.format(`HH:mm [${utcOffset}] [Yesterday]`); } - // if scheduled for tomorrow, render the time + Tomorrow + // if scheduled for tomorrow, render the time + tomorrow if (scheduled && time.isSame(now.clone().add(1, 'days').startOf('day'), 'day')) { - return time.format(`[at] HH:mm [${utcOffset}] [Tomorrow]`); + return time.format(`[at] HH:mm [${utcOffset}] [tomorrow]`); } // Else, render just the date if published, or the time & date if scheduled diff --git a/app/styles/spirit/_custom-styles.css b/app/styles/spirit/_custom-styles.css index 5cf573946..3ecb190bc 100644 --- a/app/styles/spirit/_custom-styles.css +++ b/app/styles/spirit/_custom-styles.css @@ -194,6 +194,7 @@ button, .btn-base { font-weight: 400; line-height: 1.4em; letter-spacing: 0.2px; + text-transform: initial; transform: translate(-50%, 5px); }