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

Feature Proposal: adjust clock time to refresh interval #431

Open
cherti opened this issue Sep 1, 2020 · 0 comments
Open

Feature Proposal: adjust clock time to refresh interval #431

cherti opened this issue Sep 1, 2020 · 0 comments

Comments

@cherti
Copy link
Contributor

cherti commented Sep 1, 2020

Hi,

as i3status, if used with a tztime shows that module's clocktime on each refresh, the clock naturally lags behind realtime. If you for example use an interval of 60s, your clock if showing minutes can be up to 59s off.

To resolve this, one could introduce an optional setting to the tzdata module, either a correction value for the time directly or a boolean, leading to the time being corrected by the globally specified refresh interval.

If set, instead of lagging behind, the clock would run ahead of real time (and therefore never be late), which I personally find preferrable.

Would a PR implementing this have a chance of being merged?

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

1 participant