diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-08-25 08:48:32 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-08-25 08:48:32 -0400 |
commit | bca7cb76dbbd3f09ca9541624e23cee5fbf5ac11 (patch) | |
tree | 86373e8c39a161b11e741b14b884e1b69db71c1b /web/react | |
parent | b76b3141535325b97a320206e3b9367cbbb27ec8 (diff) | |
parent | 911836d597eb7e649f2873e3b1632cef0b836cfe (diff) | |
download | chat-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/react')
-rw-r--r-- | web/react/utils/utils.jsx | 2 |
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; }; |