From ab1e277f5fb3c935f244919123e51299dce22a98 Mon Sep 17 00:00:00 2001 From: turt2live Date: Thu, 1 Jun 2017 09:53:24 -0600 Subject: [PATCH] Support 12hr time on DateSeparator Signed-off-by: Travis Ralston --- src/components/structures/MessagePanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index 6b80223e42..6f49e425fd 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -316,7 +316,7 @@ module.exports = React.createClass({ const key = "membereventlistsummary-" + (prevEvent ? mxEv.getId() : "initial"); if (this._wantsDateSeparator(prevEvent, mxEv.getDate())) { - let dateSeparator =
  • ; + let dateSeparator =
  • ; ret.push(dateSeparator); } @@ -458,7 +458,7 @@ module.exports = React.createClass({ // do we need a date separator since the last event? if (this._wantsDateSeparator(prevEvent, eventDate)) { - var dateSeparator =
  • ; + var dateSeparator =
  • ; ret.push(dateSeparator); continuation = false; }