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

ngx timer not resertting to 0 on the date part #71

Closed
rohit-jagannath opened this issue Jun 5, 2020 · 5 comments
Closed

ngx timer not resertting to 0 on the date part #71

rohit-jagannath opened this issue Jun 5, 2020 · 5 comments

Comments

@rohit-jagannath
Copy link

rohit-jagannath commented Jun 5, 2020

Bug Report or Feature Request (mark with an x)


[x] Bug report -> please search issues before submitting
[ ] Feature request
[ ] Documentation issue or request

Current behavior

The data part in <countdown [config]="{ leftTime: 10, format: 'dd:HH:mm:ss' }"></countdown> is not getting reset to 00 after countdown timer stops.
Currently it is being displayed as below:
01:00:00:00.
This will give a wrong impression to end users.
Stackblitz link: https://stackblitz.com/edit/ngx-countdown-setup-mfbxtp

Expected behavior

The timer should display like below after timer stops.
00:00:00:00.

Environment


Angular version: X.Y.Z

ngx-countdown version: X.Y.Z

Browser:
- [x] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

Others:

@cipchk
Copy link
Owner

cipchk commented Jun 6, 2020

Your link stackblitz.com/edit/ngx-countdown-setup-mfbxtp seems to be broken, can you fix this?

@rohit-jagannath
Copy link
Author

@cipchk The link is working fine for me. But this is all i had over there -
<countdown [config]="{ leftTime: 10, format: 'dd:HH:mm:ss' }">

@cipchk
Copy link
Owner

cipchk commented Jun 9, 2020

@rohit-jagannath Maybe duplcated of #49

@Blamax
Copy link

Blamax commented Jan 14, 2021

I can confirm that this problem still exists. <countdown [config]="{ leftTime: 10, format: 'dd:HH:mm:ss' }"> stops at 01:00:00:00

@cipchk
Copy link
Owner

cipchk commented Aug 6, 2021

@cipchk cipchk closed this as completed Aug 6, 2021
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