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
1 changed files with 1 additions and 1 deletions

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