From a169a8e882fc89154a3b1496a3f033bffaf62665 Mon Sep 17 00:00:00 2001
From: enahum <nahumhbl@gmail.com>
Date: Mon, 2 May 2016 18:15:08 -0300
Subject: PLT-1915: Fix Timestamps are displayed as 12 hour even when set to 24
 hour mode (#2852)

---
 webapp/components/search_results_item.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/webapp/components/search_results_item.jsx b/webapp/components/search_results_item.jsx
index 85d069dbc..7804cab7b 100644
--- a/webapp/components/search_results_item.jsx
+++ b/webapp/components/search_results_item.jsx
@@ -100,7 +100,7 @@ export default class SearchResultsItem extends React.Component {
                                     <time className='search-item-time'>
                                         <FormattedDate
                                             value={post.create_at}
-                                            hour12={true}
+                                            hour12={!Utils.isMilitaryTime()}
                                             hour='2-digit'
                                             minute='2-digit'
                                         />
-- 
cgit v1.2.3-1-g7c22

