- {timeago.format(content.endorsedAt, intl.locale)}
+ {intl.formatMessage(messages.time, { time: timeago.format(content.endorsedAt, 'time-locale') })}
diff --git a/src/discussions/posts/post/PostLink.jsx b/src/discussions/posts/post/PostLink.jsx
index 1c0057ef..3474c179 100644
--- a/src/discussions/posts/post/PostLink.jsx
+++ b/src/discussions/posts/post/PostLink.jsx
@@ -45,83 +45,84 @@ function PostLink({
const postReported = post.abuseFlagged || post.abuseFlaggedCount;
return (
-
-
isSelected(post.id)}
- style={{ lineHeight: '21px' }}
- aria-current={isSelected(post.id) ? 'page' : undefined}
- role="option"
- tabindex={(isSelected(post.id) || idx === 0) ? 0 : -1}
- >
- {showDivider &&
}
-
+ {showDivider &&
}
+
isSelected(post.id)}
+ style={{ lineHeight: '21px' }}
+ aria-current={isSelected(post.id) ? 'page' : undefined}
+ role="option"
+ tabindex={(isSelected(post.id) || idx === 0) ? 0 : -1}
+ >
+
-
-
-
-
-
+
+
+
+
+
- {post.title}
+ >
+ {post.title}
+
+
+ {showAnsweredBadge && (
+
+ {intl.formatMessage(messages.answered)}
+ {' '}answered
+
+ )}
+
+ {postReported && (
+
+ {intl.formatMessage(messages.contentReported)}
+ {' '}reported
+
+ )}
+
+ {post.pinned && (
+
+ )}
-
- {showAnsweredBadge && (
-
- {intl.formatMessage(messages.answered)}
- {' '}answered
-
- )}
-
- {postReported && (
-
- {intl.formatMessage(messages.contentReported)}
- {' '}reported
-
- )}
-
- {post.pinned && (
-
- )}
+
+
+
+ {isPostPreviewAvailable(post.previewBody)
+ ? post.previewBody
+ : intl.formatMessage(messages.postWithoutPreview)}
+
+
-
-
- {isPostPreviewAvailable(post.previewBody)
- ? post.previewBody
- : intl.formatMessage(messages.postWithoutPreview)}
-
-
-
-
+
+ >
);
}