You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using countdown, zeroPadLength is not applied for days as it's described in
This option defaults to 2 in order to display the common format 00:00:00 instead of 0:0:0. If the value is higher than 2, only the hour part (never days) will be zero-padded while it stays at 2 for minutes as well as seconds.
In my case, in order to pad days as well I had to do:
When using countdown,
zeroPadLength
is not applied for days as it's described inThis option defaults to 2 in order to display the common format 00:00:00 instead of 0:0:0. If the value is higher than 2, only the hour part (never days) will be zero-padded while it stays at 2 for minutes as well as seconds.
In my case, in order to pad days as well I had to do:
It would be great if we had a param for applying zeroPad in days as well, instead of having to define a renderer function just for that.
The text was updated successfully, but these errors were encountered: