ngx timer not resertting to 0 on the date part
See original GitHub issueBug 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:
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
NGX countdown timer not counting down accurately for ...
NGX countdown timer not counting down accurately for 'leftTime' parameter is greater than 24 hrs. Save this question. Show activity on this ...
Read more >Lua Ngx API - OpenResty Reference - Read the Docs
The uri argument must be a Lua string and cannot be of zero length, ... Returns current date (in the format yyyy-mm-dd )...
Read more >Problem with ngx.timer.at and resty-ression - Google Groups
1) Resty-session is configured with an external store for session data. In this case, if session data is stored in redis or memecached,...
Read more >Stop / reset JavaScript in a storyline - E-Learning Heroes
Hello, I have a timer that I built from a Storyline provided in another post; it uses a javascript snippet to start the...
Read more >How to reset a form using jQuery with .reset() method?
<input type="reset"> · Syntax for reset(): formObject.reset() · Syntax to convert jQuery element to a JavaScript object. $(selector)[0].reset().
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm that this problem still exists. <countdown [config]=“{ leftTime: 10, format: ‘dd:HH:mm:ss’ }”> stops at 01:00:00:00
About more than 24 hours demo via https://github.com/cipchk/ngx-countdown/blob/master/src/app/components/more-than-24-hours.component.ts