You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
I have 2 moments. One moment I add x seconds. When using the targetFormatMask to show the number of remaining days it always shows 1.
OnTick shows correct number of seconds left and onCountdownEnd is called when time is over.
I'm using this format "DD [days] - HH:mm:ss" but it's the same with "DD:HH:mm:ss"
Shows 01 DAYS - 00:00:59 counting down to 01 DAYS - 00:00:00
Probably because you convert to UTC time which is 1st of january 1970 so D will always show 1. Subsquentially 25hrs in the future will say it's 2 days and 1 hour because it converts to 1/2/1970
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have 2 moments. One moment I add x seconds. When using the targetFormatMask to show the number of remaining days it always shows 1.
OnTick shows correct number of seconds left and onCountdownEnd is called when time is over.
I'm using this format "DD [days] - HH:mm:ss" but it's the same with "DD:HH:mm:ss"
Shows 01 DAYS - 00:00:59 counting down to 01 DAYS - 00:00:00
Probably because you convert to UTC time which is 1st of january 1970 so D will always show 1. Subsquentially 25hrs in the future will say it's 2 days and 1 hour because it converts to 1/2/1970
The text was updated successfully, but these errors were encountered: