Skip to content

Commit

Permalink
Update the post schedule label to correctly reflect the date and (#15757
Browse files Browse the repository at this point in the history
)

time display settings
  • Loading branch information
brentswisher authored and donmhico committed Aug 27, 2019
1 parent a0d228b commit 422d812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/post-schedule/label.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function PostScheduleLabel( { date, isFloating } ) {
const settings = __experimentalGetSettings();

return date && ! isFloating ?
dateI18n( settings.formats.datetimeAbbreviated, date ) :
dateI18n( `${ settings.formats.date } ${ settings.formats.time }`, date ) :
__( 'Immediately' );
}

Expand Down

0 comments on commit 422d812

Please sign in to comment.