Skip to content

Commit

Permalink
Fix for latest posts time class (#12725)
Browse files Browse the repository at this point in the history
  • Loading branch information
kadencewp authored and youknowriad committed Jan 3, 2019
1 parent 1f23a55 commit 1278dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/latest-posts/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class LatestPostsEdit extends Component {
<li key={ i }>
<a href={ post.link } target="_blank">{ decodeEntities( post.title.rendered.trim() ) || __( '(Untitled)' ) }</a>
{ displayPostDate && post.date_gmt &&
<time dateTime={ format( 'c', post.date_gmt ) } className={ `${ this.props.className }__post-date` }>
<time dateTime={ format( 'c', post.date_gmt ) } className="wp-block-latest-posts__post-date">
{ dateI18n( dateFormat, post.date_gmt ) }
</time>
}
Expand Down

0 comments on commit 1278dc3

Please sign in to comment.