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
No known key found for this signature in database
GPG key ID: 8DFF5DD33E93DB58

View file

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