diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-08-24 10:52:53 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-08-24 10:52:53 -0700 |
commit | 911836d597eb7e649f2873e3b1632cef0b836cfe (patch) | |
tree | 7f847e5b21db775761e181a111e285929b143f75 /web/react/utils/utils.jsx | |
parent | 9280dfb9352bb491236d394dfc3adac618e2694a (diff) | |
download | chat-911836d597eb7e649f2873e3b1632cef0b836cfe.tar.gz chat-911836d597eb7e649f2873e3b1632cef0b836cfe.tar.bz2 chat-911836d597eb7e649f2873e3b1632cef0b836cfe.zip |
Fixed issue with timestamp incorrectly displaying single digit minutes
Diffstat (limited to 'web/react/utils/utils.jsx')
-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; }; |