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

Calculate best interval #8

Open
rossburton opened this issue Jan 29, 2019 · 2 comments
Open

Calculate best interval #8

rossburton opened this issue Jan 29, 2019 · 2 comments

Comments

@rossburton
Copy link

If the user is showing seconds, the refresh interval needs to be every second. If they're showing hours, on the hour. etc etc.

By calculating how long until the next refresh is needed the intervals can adapt smoothly.

@tim-digitised
Copy link
Contributor

Hey @rossburton - you can do this by changing the update interval time, the config property is customInterval

@rossburton
Copy link
Author

Sure, but I meant that the plugin can do that itself and produce optimal timers.

If I have a countdown showing hours until a specific date/time then the initial timer could be and then every 3600 seconds.

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