ZeroPadTime doesn't show double digit
VincensiuD opened this issue · comments
Hello,
just installed the library, and I used the Custom Renderer with Completed Condition
however, the seconds and the minute only show one digit (like instead of 02:00 it shows 2:0)
I tried to add zeroPadTime={2} in the Countdown props, but it didn't help, still single digit.
cheers
https://codesandbox.io/s/gracious-euclid-37klu?file=/index.js:507-522
it shows in the link above, but for some reason not in my app, I wonder if you could suggest what causes it
found the solution:
const renderer = ({ formatted: { hours, minutes, seconds }, completed }) => {...}
maybe you can put it in the readme? cheers :)