From 640fa108fce089020a12d70fd10e9b661f27b784 Mon Sep 17 00:00:00 2001 From: turt2live Date: Thu, 1 Jun 2017 09:52:42 -0600 Subject: [PATCH] Support 12hr time on DateSeparator Signed-off-by: Travis Ralston --- src/components/views/messages/DateSeparator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/messages/DateSeparator.js b/src/components/views/messages/DateSeparator.js index 7acc9bd6..3f75c3e7 100644 --- a/src/components/views/messages/DateSeparator.js +++ b/src/components/views/messages/DateSeparator.js @@ -49,7 +49,7 @@ module.exports = React.createClass({ label = days[date.getDay()]; } else { - label = DateUtils.formatFullDate(date); + label = DateUtils.formatFullDate(date, this.props.showTwelveHour); } return (