summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webapp/components/search_results_item.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/webapp/components/search_results_item.jsx b/webapp/components/search_results_item.jsx
index 8f885e967..b3de3492c 100644
--- a/webapp/components/search_results_item.jsx
+++ b/webapp/components/search_results_item.jsx
@@ -79,7 +79,10 @@ export default class SearchResultsItem extends React.Component {
timeTag(post) {
return (
- <time className='search-item-time'>
+ <time
+ className='search-item-time'
+ dateTime={Utils.getDateForUnixTicks(post.create_at).toISOString()}
+ >
<FormattedDate
value={post.create_at}
hour12={!this.props.useMilitaryTime}