don't pad hours when displaying time

This commit is contained in:
FireMasterK
2021-01-07 13:33:10 +05:30
parent 331355a717
commit bc8525eb2b

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);