From a169a8e882fc89154a3b1496a3f033bffaf62665 Mon Sep 17 00:00:00 2001 From: enahum 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/time_since.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/time_since.jsx') diff --git a/webapp/components/time_since.jsx b/webapp/components/time_since.jsx index 9f7a93ceb..f715193e2 100644 --- a/webapp/components/time_since.jsx +++ b/webapp/components/time_since.jsx @@ -41,7 +41,7 @@ export default class TimeSince extends React.Component { month='long' day='numeric' year='numeric' - hour12={true} + hour12={!Utils.isMilitaryTime()} hour='numeric' minute='2-digit' /> -- cgit v1.2.3-1-g7c22