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

Cron expression builder: Set day 1 as Sunday #2630

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

florian-h05
Copy link
Contributor

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>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
…onth

Fixes openhab#1371.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@florian-h05 florian-h05 requested a review from a team as a code owner June 27, 2024 09:12
@florian-h05 florian-h05 added bug Something isn't working main ui Main UI labels Jun 27, 2024
@florian-h05 florian-h05 added this to the 4.2 milestone Jun 27, 2024
Copy link

relativeci bot commented Jun 27, 2024

#2053 Bundle Size — 10.64MiB (~+0.01%).

c53f7d2(current) vs 2decdd6 main#2051(baseline)

Warning

Bundle contains 2 duplicate packages – View duplicate packages

Bundle metrics  Change 1 change
                 Current
#2053
     Baseline
#2051
No change  Initial JS 1.87MiB 1.87MiB
No change  Initial CSS 607.91KiB 607.91KiB
Change  Cache Invalidation 18.39% 17.82%
No change  Chunks 223 223
No change  Assets 246 246
No change  Modules 2888 2888
No change  Duplicate Modules 149 149
No change  Duplicate Code 1.85% 1.85%
No change  Packages 97 97
No change  Duplicate Packages 2 2
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#2053
     Baseline
#2051
Regression  JS 8.83MiB (~+0.01%) 8.83MiB
No change  CSS 891.55KiB 891.55KiB
No change  Fonts 526.1KiB 526.1KiB
No change  Media 295.6KiB 295.6KiB
No change  IMG 140.74KiB 140.74KiB
No change  HTML 1.24KiB 1.24KiB
No change  Other 871B 871B

Bundle analysis reportBranch florian-h05:cron-fixesProject dashboard

@florian-h05 florian-h05 merged commit 9ebf078 into openhab:main Jun 27, 2024
8 checks passed
@florian-h05 florian-h05 deleted the cron-fixes branch June 27, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cron builder uses wrong day [mainui] CronBuilder puts monday as day 1
1 participant