From cfbace70ca4222e7abba92c5e3af7440539452c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Roland?= <bjoernr-de@users.noreply.github.com>
Date: Fri, 27 Jan 2017 14:06:51 +0100
Subject: #5108 Add datetime attribute to <time> elements (#5199)

* #5108 Add datetime attribute to <time> elements

* fix eslint errors
---
 webapp/components/rhs_comment.jsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'webapp/components/rhs_comment.jsx')

diff --git a/webapp/components/rhs_comment.jsx b/webapp/components/rhs_comment.jsx
index 885c32b29..26659c7a1 100644
--- a/webapp/components/rhs_comment.jsx
+++ b/webapp/components/rhs_comment.jsx
@@ -478,7 +478,10 @@ export default class RhsComment extends React.Component {
                             </li>
                             {botIndicator}
                             <li className='col'>
-                                <time className='post__time'>
+                                <time
+                                    className='post__time'
+                                    dateTime={Utils.getDateForUnixTicks(post.create_at).toISOString()}
+                                >
                                     {Utils.getDateForUnixTicks(post.create_at).toLocaleString('en', timeOptions)}
                                 </time>
                                 {flagTrigger}
-- 
cgit v1.2.3-1-g7c22

