Skip to content

Conversation

@Calderis
Copy link

@Calderis Calderis commented Nov 10, 2025

Re-opening of previous PR #530 (started over with a fresh fork that included the missing develop branch)


Adds school holiday dates for the 2025-2026 and 2026-2027 academic years to the official three-zone system (A, B, C).

Sources :

Changes

Following the API, it seems that "Pont de l'Ascension" was not correctly set up for 2025.

Note: I first tried Copilot to make these changes, but I had to check manually to make sure everything was correct (so I ended up doing it manually).

@Calderis Calderis changed the title feat: update 2024 > 2026 + add 2027 feat: add 2026-2027 holidays FR Nov 10, 2025
'2023': []
'2024': []
'2025': []
'2026': []
Copy link
Collaborator

@KristjanESPERANTO KristjanESPERANTO Nov 10, 2025

Choose a reason for hiding this comment

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

Everything looks fine at a glance. Only this seems a little off to me. Empty arrays are fine if there are no holidays for Pont de l'Ascension. Did you remove them intentionally?

I would also have expected you to add something for 2026 or 2025 here and not for 2023 🤔

My French isn't good enough to check it myself in your sources.

Copy link
Author

Choose a reason for hiding this comment

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

Empty arrays

Would you prefer if I put them back ? I used a fork we use internally (and empty arrays were removed) to updates those dates.

Checking dates

You can check every thing on the API that present data in a more developer ways ;)

Image

If it's not clear enough, I can put it in another in order for you to check datas.

2023 date

I can remove it as well if you want

Copy link
Collaborator

@KristjanESPERANTO KristjanESPERANTO Nov 12, 2025

Choose a reason for hiding this comment

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

Well, I would interpret an entry with an empty array to mean that there are no holidays in that year. A missing entry, on the other hand, can mean two things: 1. There are no holidays, or 2. No one has entered any holidays yet.
So if there are no holidays, I would prefer an empty array because it leaves no room for interpretation.

Copy link
Author

@Calderis Calderis Nov 13, 2025

Choose a reason for hiding this comment

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

Ok but there are holidays (for the "Corse" region), there are not in this file yet.

Image

So following you, removing those empty array was the good choice no ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Correct. If there are holidays but the array is empty, that would be wrong. So the best option would be to fill the array, or the second-best option would be to remove it.

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