Merge pull request #458 from rgarmsen2295/mm-1983

MM-1983 Fixed issue with timestamp incorrectly displaying single digit minutes
Этот коммит содержится в:
Christopher Speller
2015-08-25 08:48:32 -04:00
родитель b76b314153 911836d597
Коммит bca7cb76db

Просмотреть файл

@@ -175,7 +175,7 @@ module.exports.displayTime = function(ticks) {
hours = '12'; hours = '12';
} }
if (minutes <= 9) { if (minutes <= 9) {
minutes = 0 + minutes; minutes = '0' + minutes;
} }
return hours + ':' + minutes + ' ' + ampm; return hours + ':' + minutes + ' ' + ampm;
}; };