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

[ephemeris] Add support for overriding holiday definitions #3573

Merged
merged 4 commits into from
May 2, 2023

Conversation

jlaur
Copy link
Contributor

@jlaur jlaur commented Apr 23, 2023

The version of Jollyday we are using was abandoned years ago, so the holiday definitions we are using are getting outdated as well.

This pull request introduces the possibility to override holiday definitions in core, and as an example contains updated Danish definitions, ending Great Prayer Day this year, since our government has abolished it from next year.

The obvious disadvantage is that we would then take over the maintenance. But on the other hand, they are not maintained upstream anymore, so at least it would improve the user experience. Additionally, it would not change the API, so upgrading to focus-shift later will be seamless for users.

Related to #3544

End Danish General Prayer Day

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
@jlaur jlaur marked this pull request as ready for review April 23, 2023 19:50
@jlaur jlaur requested a review from a team as a code owner April 23, 2023 19:50
jlaur added 2 commits April 24, 2023 17:47
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
@jlaur jlaur force-pushed the ephemeris-holiday-override branch from 091dfa6 to d2b8285 Compare May 1, 2023 17:56
Copy link
Member

@J-N-K J-N-K left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@J-N-K J-N-K added the enhancement An enhancement or new feature of the Core label May 2, 2023
@J-N-K J-N-K added this to the 4.0 milestone May 2, 2023
@J-N-K J-N-K merged commit c846487 into openhab:main May 2, 2023
@jlaur jlaur deleted the ephemeris-holiday-override branch May 2, 2023 20:28
splatch pushed a commit to ConnectorIO/copybara-hab-core that referenced this pull request Jul 12, 2023
)

* Add support for overriding holiday definitions

End Danish General Prayer Day

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
GitOrigin-RevId: c846487
wborn added a commit to wborn/openhab-core that referenced this pull request Jan 12, 2024
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.0 of a more actively maintained fork (de.focus-shift).

* This add many missing holidays.
* Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Fixes openhab#3544

Signed-off-by: Wouter Born <github@maindrain.net>
wborn added a commit to wborn/openhab-core that referenced this pull request Jan 12, 2024
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.0 of a more actively maintained fork (de.focus-shift).

* This adds many missing holidays.
* Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Fixes openhab#3544

Signed-off-by: Wouter Born <github@maindrain.net>
wborn added a commit to wborn/openhab-core that referenced this pull request Jan 12, 2024
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.0 of a more actively maintained fork (de.focus-shift).

* This adds many missing holidays.
* Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Fixes openhab#3544

Signed-off-by: Wouter Born <github@maindrain.net>
wborn added a commit to wborn/openhab-core that referenced this pull request Jan 12, 2024
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.1 of a more actively maintained fork (de.focus-shift).

* This adds many missing holidays.
* Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Fixes openhab#3544

Signed-off-by: Wouter Born <github@maindrain.net>
wborn added a commit to wborn/openhab-core that referenced this pull request Jan 14, 2024
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.2 of a more actively maintained fork (de.focus-shift).

* This adds many missing holidays.
* Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Fixes openhab#3544

Signed-off-by: Wouter Born <github@maindrain.net>
kaikreuzer pushed a commit that referenced this pull request Jan 14, 2024
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.2 of a more actively maintained fork (de.focus-shift).

* This adds many missing holidays.
* Also removes the workaround for the Danish Great Prayer Day introduced by #3573.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Fixes #3544

Signed-off-by: Wouter Born <github@maindrain.net>
cipianpascu pushed a commit to cipianpascu/openhab-core that referenced this pull request Jan 17, 2024
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.2 of a more actively maintained fork (de.focus-shift).

* This adds many missing holidays.
* Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Fixes openhab#3544

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants