don't pad hours when displaying time

This commit is contained in:
FireMasterK 2021-01-07 13:33:10 +05:30
parent bb2d12efa2
commit 4862e89bbb

View file

@ -27,7 +27,7 @@ const mixin = {
var str = "";
if (hours > 0) str += pad(hours, 2) + ":";
if (hours > 0) str += hours + ":";
str += pad(minutes, 2) + ":" + pad(seconds, 2);