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

Returned time not correct #1

Open
derkweijers opened this issue Jun 5, 2020 · 3 comments
Open

Returned time not correct #1

derkweijers opened this issue Jun 5, 2020 · 3 comments
Assignees

Comments

@derkweijers
Copy link

derkweijers commented Jun 5, 2020

Hi!

I'm having a strange issue. I'm trying to use this in a new app that I'm developing, and I use it as follows"
<Countdown finishTime={new Date("2020-06-11T06:43:00+02:00").getTime() / 1000}/>

At this time, that should result in around 5 days, 14 hours, 52 minutes and some seconds.
However, it renders as 2 days, 15 hours, 52 minutes and some seconds.

Maybe I'm doing something wrong, but I'm not sure what that could be..

Thanks in advance!

@realKfiros
Copy link
Owner

Sorry for now commenting on that, I didn't look at this package in the last months :(
Probably you didn't give a correct timestamp but I will look at that and tell you.
I will update the package very soon and look more into issues, I have a lot of features that I thought of that I can add and I will do that soon, and yeah because of this I will look for that and add support for js date objects.

@realKfiros realKfiros self-assigned this Aug 11, 2020
@amaraa019
Copy link

countdown returning 8 hours difference. My timezone is GMT +08:00 how to fix it?

@ttberggren
Copy link

Also having issues with timezones and it's showing the wrong time. Is there a way to hotfix this or is an update coming?

Cheers for a good package

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

4 participants