summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-08-24 10:52:53 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-08-24 10:52:53 -0700
commit911836d597eb7e649f2873e3b1632cef0b836cfe (patch)
tree7f847e5b21db775761e181a111e285929b143f75 /web
parent9280dfb9352bb491236d394dfc3adac618e2694a (diff)
downloadchat-911836d597eb7e649f2873e3b1632cef0b836cfe.tar.gz
chat-911836d597eb7e649f2873e3b1632cef0b836cfe.tar.bz2
chat-911836d597eb7e649f2873e3b1632cef0b836cfe.zip
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;
};