From d446410bdfbf50834916c7c3d6487add60fecf7f Mon Sep 17 00:00:00 2001 From: turt2live Date: Tue, 30 May 2017 09:31:16 -0600 Subject: [PATCH] Remove space between time and AM/PM Part of addressing vector-im/riot-web#4046 Signed-off-by: Travis Ralston --- src/DateUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DateUtils.js b/src/DateUtils.js index e8f92e34fa..015b645fa8 100644 --- a/src/DateUtils.js +++ b/src/DateUtils.js @@ -56,7 +56,7 @@ function twelveHourTime(date) { const minutes = pad(date.getMinutes()); const ampm = date.getHours() >= 12 ? 'PM' : 'AM'; hours = pad(hours ? hours : 12); - return `${hours}:${minutes} ${ampm}`; + return `${hours}:${minutes}${ampm}`; } module.exports = {