feat(SI): add school holidays for 2026/2027 - #177
Open
tadejzunko wants to merge 1 commit into
Open
Conversation
Source: Ministry of Education (MVI) school calendars for 2026/2027, published for primary schools (osnovne šole) and secondary schools (srednje šole).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src/si/holidays/holidays.school.csvstops at the 2025/2026 summer break, so a query for any date in the 2026/2027 school year comes back empty. The ministry settled that year's calendar in February (primary) and April (secondary) 2026.These 9 rows complete it.
Sources
Both are ministerial instructions issued under the respective Pravilnik o šolskem koledarju:
Every date is read off those two documents. None is carried forward from a previous year, which matters because two of them break the usual pattern:
One caveat about Kočevje
The two documents disagree on it. The secondary-school calendar excludes Kočevje from the 15–19 February group along with Ribnica, Sodražica, Loški Potok, Osilnica and Kostel; the primary-school calendar lists those five but not Kočevje. So Kočevje's primary schools take the earlier week and its secondary schools the later one.
subdivisions.csvmaps Kočevje toZR, which matches the secondary reading. A singleVR/ZRtag per municipality can't express a split that depends on school type, so I've left the mapping alone and these rows follow it — flagging it rather than working around it, since it predates this change and affects one municipality.Checks
bin/test_all_tables.pypasses on the modified tree. The 9 UUIDs are freshly generated and don't collide with any of the 14,061 IDs already in the repository. Rows are appended in date order, the file keeps its BOM and LF endings, and all six holiday names already exist in the file, so no new name strings are introduced.