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

Added 5 minute interval align for time select buttons #415

Merged
merged 4 commits into from
Oct 26, 2023

Conversation

danielhass
Copy link
Contributor

Hi @almarklein,

I stumbled across #216 which is a behavior I could make use of as well.
This PR adds support for interval alignment during time select using the +/- buttons.
In this version fractions of the interval/step size (e.g. 42) will be align during the first button press to the respective step size (e.g. 45). Afterwards each step will align with the step size.

Let me know what you think about this change.

@almarklein
Copy link
Owner

almarklein commented Oct 24, 2023

Great, I agree with this behavior.

CI fails on formatting. You can run invoke format to fix it. You may need to pip install invoke black to run that.

@danielhass
Copy link
Contributor Author

@almarklein - should be fixed now. I thought I fixed all formatting issues but somehow missed one.

@almarklein almarklein merged commit ec075d5 into almarklein:main Oct 26, 2023
9 checks passed
@almarklein
Copy link
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants