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

countdown showing days +1 #135

Open
metalllus opened this issue Oct 31, 2024 · 1 comment
Open

countdown showing days +1 #135

metalllus opened this issue Oct 31, 2024 · 1 comment

Comments

@metalllus
Copy link

Hi, folks, I am using this config

{{ stopTime: publishTimestamp().toDate(), format: 'dd HH mm ss' }}

No matter how far the publish timestamp is into the future I always get days + 1 (i.e showing 1 day left when there should be 0, or 2 when there should be 1). The hours, minutes and seconds are shown correctly.

Angular version: 18.2
ngx-countdown version: 18.0.0

I must be doing some silly mistake somewhere, please help.

@cipchk
Copy link
Owner

cipchk commented Nov 4, 2024

Maybe you can find inspiration from this example.

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

2 participants