diff options
author | Ari Autio <ari.autio@iki.fi> | 2017-03-01 01:53:13 +0200 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2017-02-28 20:53:13 -0300 |
commit | 48d124ec9aee139c00538b17c1cf978015641c8e (patch) | |
tree | d0c13cbb2f3abda9a377be40431ae3864cfc47e5 /webapp/components | |
parent | df07aeeb126954ed14e393a3a09d28c4bbf630fb (diff) | |
download | chat-48d124ec9aee139c00538b17c1cf978015641c8e.tar.gz chat-48d124ec9aee139c00538b17c1cf978015641c8e.tar.bz2 chat-48d124ec9aee139c00538b17c1cf978015641c8e.zip |
PLT-5490: Add machine readable timestamps for search results (#5564)
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/search_results_item.jsx | 5 |
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} |