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

The counter keep restarting #17

Open
ajifri opened this issue Nov 5, 2017 · 3 comments
Open

The counter keep restarting #17

ajifri opened this issue Nov 5, 2017 · 3 comments

Comments

@ajifri
Copy link

ajifri commented Nov 5, 2017

Hi
The counter keeps restarting once I refresh the page.

I've tryed this code in jquery.final-countdown.js :
var defaults = $.extend({
start: '1362139200',
end: '1413936000',
now: new Date().getTime(),

but ddin't work

Any advice would be appreciated

@ClarusDignus
Copy link

I don't know the answer though I assume the issue is your code, not the plugin.

Post your question to https://stackoverflow.com/.

@riponhossainchopol
Copy link

I Am Having The Same Problem. ajifry have you find The Solution?

@carlosferragut
Copy link

I Am Having The Same Problem. ajifry have you find The Solution?

Hi
The counter keeps restarting once I refresh the page.

I've tryed this code in jquery.final-countdown.js :
var defaults = $.extend({
start: '1362139200',
end: '1413936000',
now: new Date().getTime(),

but ddin't work

Any advice would be appreciated

You have to format your now parameter like this:

Math.floor(Date.now() / 1000)

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