Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CountDownFormatted not keeping the format #3

Closed
dpedrinha opened this issue Nov 14, 2019 · 2 comments
Closed

CountDownFormatted not keeping the format #3

dpedrinha opened this issue Nov 14, 2019 · 2 comments

Comments

@dpedrinha
Copy link

If you set the duration to, let's say 5 minutes, the CountDownFormatted shows 00:5:00 (missing a zero).
Also, if I set to one hour it shows 1:00:00 but as soon as there's less than one hour the hours "display" disappear showing only the minutes and seconds like 59:59.
Would be nice to set the format type we want and keep it on the timer.

@dimiril
Copy link

dimiril commented Apr 30, 2020

up

@Leocardoso94
Copy link
Owner

I add a field to CountDownFormatted to set the function that will format the duration. This is a flexible way to set the format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants