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

Count timer and norml timer has the same problem: init time doesn't work #11

Open
winglight opened this issue Aug 31, 2019 · 1 comment

Comments

@winglight
Copy link

I have the code as below:
<CountdownTimer time={this.state.timer} play={play} flipNumberProps={{unit:"seconds"}}/>
Whatever time value I set, the countdown timer view ALWAYS count down from 59:xx:xx. I meant the latter 4 numbers were correct but the first two numbers were alwasy 59 that should be 00 in my guess.

Hope you great guys could fix this problem.

Regards,
Wing Light

@winglight
Copy link
Author

sorry, normal timer seems all right. and countdown timer have more problems that's the latter 4 numbers couldn't count down either. If I set time to 30 minutes(value: 1800), the countdown timer start from 59:30:00 but quickly jump to 59:28:59 and then count down by second.

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

1 participant