From 911836d597eb7e649f2873e3b1632cef0b836cfe Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Mon, 24 Aug 2015 10:52:53 -0700 Subject: Fixed issue with timestamp incorrectly displaying single digit minutes --- web/react/utils/utils.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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; }; -- cgit v1.2.3-1-g7c22