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

Negative offset breaks if wait is over an hour past midnight #48

Open
davidsanner opened this issue Jun 21, 2024 · 0 comments
Open

Negative offset breaks if wait is over an hour past midnight #48

davidsanner opened this issue Jun 21, 2024 · 0 comments

Comments

@davidsanner
Copy link

In a 'wait' usage, if a negative offset pushes the wait over an hour past midnight, it returns before it should (immediately).

example: sun sets @ 8:30pm and run at 4pm.
works / waits:  sunwait wait daylight offset -3:00 set
doesn't wait:   sunwait wait daylight offset -5:00 set

2nd example has the wait going over an hour into the next day so fails, returns immediately.
So... works in winter, breaks in summer ;)

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