-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Cron builder uses wrong day #1371
Comments
This seems to me a UI bug. 1 is Sunday. For example see https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm |
Tested using both WED and 4 and both activated on the correct day. The UI is displaying the wrong text for the day of the week, one day in advance.
My timezone is set for PST (GMT-8) |
See also: #902 |
florian-h05
added a commit
to florian-h05/openhab-webui
that referenced
this issue
Jun 27, 2024
…onth Fixes openhab#1371. Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
florian-h05
added a commit
that referenced
this issue
Jun 27, 2024
Fixes #1371. Fixes #902. This sets the UI's cron builder to use day 1 for Sunday, instead of Monday, which is the convention as used by the Quartz scheduler, see https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm and https://freeformatter.com/cron-expression-generator-quartz.html. --------- Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used the cron builder in the Rules on OH3 to have a trigger on the first Monday of the month.
But it triggered on a Sunday.
The text was updated successfully, but these errors were encountered: