summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-08-25 08:48:32 -0400
committerChristopher Speller <crspeller@gmail.com>2015-08-25 08:48:32 -0400
commitbca7cb76dbbd3f09ca9541624e23cee5fbf5ac11 (patch)
tree86373e8c39a161b11e741b14b884e1b69db71c1b /web
parentb76b3141535325b97a320206e3b9367cbbb27ec8 (diff)
parent911836d597eb7e649f2873e3b1632cef0b836cfe (diff)
downloadchat-bca7cb76dbbd3f09ca9541624e23cee5fbf5ac11.tar.gz
chat-bca7cb76dbbd3f09ca9541624e23cee5fbf5ac11.tar.bz2
chat-bca7cb76dbbd3f09ca9541624e23cee5fbf5ac11.zip
Merge pull request #458 from rgarmsen2295/mm-1983
MM-1983 Fixed issue with timestamp incorrectly displaying single digit minutes
Diffstat (limited to 'web')
-rw-r--r--web/react/utils/utils.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 4571312bb..f718f7435 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -175,7 +175,7 @@ module.exports.displayTime = function(ticks) {
hours = '12';
}
if (minutes <= 9) {
- minutes = 0 + minutes;
+ minutes = '0' + minutes;
}
return hours + ':' + minutes + ' ' + ampm;
};