Skip to content

Commit

Permalink
Update Poland holidays: add Christmas Eve holiday since 2025 (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
KJhellico authored Jan 4, 2025
1 parent 16e6f17 commit 56596d8
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 113 deletions.
10 changes: 9 additions & 1 deletion holidays/countries/poland.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@

class Poland(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays):
"""
https://pl.wikipedia.org/wiki/Dni_wolne_od_pracy_w_Polsce
References:
- https://en.wikipedia.org/wiki/Public_holidays_in_Poland
- https://pl.wikipedia.org/wiki/Dni_wolne_od_pracy_w_Polsce
- https://isap.sejm.gov.pl/isap.nsf/DocDetails.xsp?id=WDU20240001965
"""

country = "PL"
Expand Down Expand Up @@ -104,8 +107,13 @@ def _populate_public_holidays(self):
tr("Niepokalane Poczęcie Najświętszej Marii Panny")
)

if self._year >= 2025:
# Christmas Eve.
self._add_christmas_eve(tr("Wigilia Bożego Narodzenia"))

# Christmas Day.
self._add_christmas_day(tr("Boże Narodzenie (pierwszy dzień)"))

# Second Day of Christmas.
self._add_christmas_day_two(tr("Boże Narodzenie (drugi dzień)"))

Expand Down
12 changes: 7 additions & 5 deletions holidays/locale/en_US/LC_MESSAGES/PL.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.20\n"
"Project-Id-Version: Holidays 0.64\n"
"POT-Creation-Date: 2023-02-15 08:13-0800\n"
"PO-Revision-Date: 2024-01-03 21:22+0200\n"
"PO-Revision-Date: 2025-01-03 19:32+0200\n"
"Last-Translator: ~Jhellico <[email protected]>\n"
"Language-Team: Holidays Localization Team\n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.4\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Generator: Poedit 3.5\n"

#. National Independence Day - 100th anniversary.
msgid "Narodowe Święto Niepodległości - 100-lecie"
Expand Down Expand Up @@ -104,6 +102,10 @@ msgstr "National Independence Day"
msgid "Niepokalane Poczęcie Najświętszej Marii Panny"
msgstr "Immaculate Conception of the Blessed Virgin Mary"

#. Christmas Eve.
msgid "Wigilia Bożego Narodzenia"
msgstr "Christmas Eve"

#. Christmas Day.
msgid "Boże Narodzenie (pierwszy dzień)"
msgstr "Christmas Day"
Expand Down
12 changes: 8 additions & 4 deletions holidays/locale/pl/LC_MESSAGES/PL.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.20\n"
"Project-Id-Version: Holidays 0.64\n"
"POT-Creation-Date: 2023-02-15 08:13-0800\n"
"PO-Revision-Date: 2023-02-16 09:00-0800\n"
"Last-Translator: Arkadii Yakovets <[email protected]>\n"
"PO-Revision-Date: 2025-01-03 19:31+0200\n"
"Last-Translator: ~Jhellico <[email protected]>\n"
"Language-Team: Holidays Localization Team\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Lingua 4.15.0\n"
"X-Generator: Poedit 3.2.2\n"
"X-Generator: Poedit 3.5\n"

#. National Independence Day - 100th anniversary.
msgid "Narodowe Święto Niepodległości - 100-lecie"
Expand Down Expand Up @@ -102,6 +102,10 @@ msgstr ""
msgid "Niepokalane Poczęcie Najświętszej Marii Panny"
msgstr ""

#. Christmas Eve.
msgid "Wigilia Bożego Narodzenia"
msgstr ""

#. Christmas Day.
msgid "Boże Narodzenie (pierwszy dzień)"
msgstr ""
Expand Down
12 changes: 7 additions & 5 deletions holidays/locale/uk/LC_MESSAGES/PL.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.20\n"
"Project-Id-Version: Holidays 0.64\n"
"POT-Creation-Date: 2023-02-14 20:19+0200\n"
"PO-Revision-Date: 2024-01-02 19:09+0200\n"
"PO-Revision-Date: 2025-01-03 19:32+0200\n"
"Last-Translator: ~Jhellico <[email protected]>\n"
"Language-Team: Holidays Localization Team\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.4\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Generator: Poedit 3.5\n"

#. National Independence Day - 100th anniversary.
msgid "Narodowe Święto Niepodległości - 100-lecie"
Expand Down Expand Up @@ -104,6 +102,10 @@ msgstr "День Незалежності"
msgid "Niepokalane Poczęcie Najświętszej Marii Panny"
msgstr "Непорочне зачаття Діви Марії"

#. Christmas Eve.
msgid "Wigilia Bożego Narodzenia"
msgstr "Святий вечір"

#. Christmas Day.
msgid "Boże Narodzenie (pierwszy dzień)"
msgstr "Різдво Христове"
Expand Down
26 changes: 26 additions & 0 deletions snapshots/countries/PL_COMMON.json
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@
"2025-08-15": "Assumption Day",
"2025-11-01": "All Saints' Day",
"2025-11-11": "National Independence Day",
"2025-12-24": "Christmas Eve",
"2025-12-25": "Christmas Day",
"2025-12-26": "Second Day of Christmas",
"2026-01-01": "New Year's Day",
Expand All @@ -889,6 +890,7 @@
"2026-08-15": "Assumption Day",
"2026-11-01": "All Saints' Day",
"2026-11-11": "National Independence Day",
"2026-12-24": "Christmas Eve",
"2026-12-25": "Christmas Day",
"2026-12-26": "Second Day of Christmas",
"2027-01-01": "New Year's Day",
Expand All @@ -902,6 +904,7 @@
"2027-08-15": "Assumption Day",
"2027-11-01": "All Saints' Day",
"2027-11-11": "National Independence Day",
"2027-12-24": "Christmas Eve",
"2027-12-25": "Christmas Day",
"2027-12-26": "Second Day of Christmas",
"2028-01-01": "New Year's Day",
Expand All @@ -915,6 +918,7 @@
"2028-08-15": "Assumption Day",
"2028-11-01": "All Saints' Day",
"2028-11-11": "National Independence Day",
"2028-12-24": "Christmas Eve",
"2028-12-25": "Christmas Day",
"2028-12-26": "Second Day of Christmas",
"2029-01-01": "New Year's Day",
Expand All @@ -928,6 +932,7 @@
"2029-08-15": "Assumption Day",
"2029-11-01": "All Saints' Day",
"2029-11-11": "National Independence Day",
"2029-12-24": "Christmas Eve",
"2029-12-25": "Christmas Day",
"2029-12-26": "Second Day of Christmas",
"2030-01-01": "New Year's Day",
Expand All @@ -941,6 +946,7 @@
"2030-08-15": "Assumption Day",
"2030-11-01": "All Saints' Day",
"2030-11-11": "National Independence Day",
"2030-12-24": "Christmas Eve",
"2030-12-25": "Christmas Day",
"2030-12-26": "Second Day of Christmas",
"2031-01-01": "New Year's Day",
Expand All @@ -954,6 +960,7 @@
"2031-08-15": "Assumption Day",
"2031-11-01": "All Saints' Day",
"2031-11-11": "National Independence Day",
"2031-12-24": "Christmas Eve",
"2031-12-25": "Christmas Day",
"2031-12-26": "Second Day of Christmas",
"2032-01-01": "New Year's Day",
Expand All @@ -967,6 +974,7 @@
"2032-08-15": "Assumption Day",
"2032-11-01": "All Saints' Day",
"2032-11-11": "National Independence Day",
"2032-12-24": "Christmas Eve",
"2032-12-25": "Christmas Day",
"2032-12-26": "Second Day of Christmas",
"2033-01-01": "New Year's Day",
Expand All @@ -980,6 +988,7 @@
"2033-08-15": "Assumption Day",
"2033-11-01": "All Saints' Day",
"2033-11-11": "National Independence Day",
"2033-12-24": "Christmas Eve",
"2033-12-25": "Christmas Day",
"2033-12-26": "Second Day of Christmas",
"2034-01-01": "New Year's Day",
Expand All @@ -993,6 +1002,7 @@
"2034-08-15": "Assumption Day",
"2034-11-01": "All Saints' Day",
"2034-11-11": "National Independence Day",
"2034-12-24": "Christmas Eve",
"2034-12-25": "Christmas Day",
"2034-12-26": "Second Day of Christmas",
"2035-01-01": "New Year's Day",
Expand All @@ -1006,6 +1016,7 @@
"2035-08-15": "Assumption Day",
"2035-11-01": "All Saints' Day",
"2035-11-11": "National Independence Day",
"2035-12-24": "Christmas Eve",
"2035-12-25": "Christmas Day",
"2035-12-26": "Second Day of Christmas",
"2036-01-01": "New Year's Day",
Expand All @@ -1019,6 +1030,7 @@
"2036-08-15": "Assumption Day",
"2036-11-01": "All Saints' Day",
"2036-11-11": "National Independence Day",
"2036-12-24": "Christmas Eve",
"2036-12-25": "Christmas Day",
"2036-12-26": "Second Day of Christmas",
"2037-01-01": "New Year's Day",
Expand All @@ -1032,6 +1044,7 @@
"2037-08-15": "Assumption Day",
"2037-11-01": "All Saints' Day",
"2037-11-11": "National Independence Day",
"2037-12-24": "Christmas Eve",
"2037-12-25": "Christmas Day",
"2037-12-26": "Second Day of Christmas",
"2038-01-01": "New Year's Day",
Expand All @@ -1045,6 +1058,7 @@
"2038-08-15": "Assumption Day",
"2038-11-01": "All Saints' Day",
"2038-11-11": "National Independence Day",
"2038-12-24": "Christmas Eve",
"2038-12-25": "Christmas Day",
"2038-12-26": "Second Day of Christmas",
"2039-01-01": "New Year's Day",
Expand All @@ -1058,6 +1072,7 @@
"2039-08-15": "Assumption Day",
"2039-11-01": "All Saints' Day",
"2039-11-11": "National Independence Day",
"2039-12-24": "Christmas Eve",
"2039-12-25": "Christmas Day",
"2039-12-26": "Second Day of Christmas",
"2040-01-01": "New Year's Day",
Expand All @@ -1071,6 +1086,7 @@
"2040-08-15": "Assumption Day",
"2040-11-01": "All Saints' Day",
"2040-11-11": "National Independence Day",
"2040-12-24": "Christmas Eve",
"2040-12-25": "Christmas Day",
"2040-12-26": "Second Day of Christmas",
"2041-01-01": "New Year's Day",
Expand All @@ -1084,6 +1100,7 @@
"2041-08-15": "Assumption Day",
"2041-11-01": "All Saints' Day",
"2041-11-11": "National Independence Day",
"2041-12-24": "Christmas Eve",
"2041-12-25": "Christmas Day",
"2041-12-26": "Second Day of Christmas",
"2042-01-01": "New Year's Day",
Expand All @@ -1097,6 +1114,7 @@
"2042-08-15": "Assumption Day",
"2042-11-01": "All Saints' Day",
"2042-11-11": "National Independence Day",
"2042-12-24": "Christmas Eve",
"2042-12-25": "Christmas Day",
"2042-12-26": "Second Day of Christmas",
"2043-01-01": "New Year's Day",
Expand All @@ -1110,6 +1128,7 @@
"2043-08-15": "Assumption Day",
"2043-11-01": "All Saints' Day",
"2043-11-11": "National Independence Day",
"2043-12-24": "Christmas Eve",
"2043-12-25": "Christmas Day",
"2043-12-26": "Second Day of Christmas",
"2044-01-01": "New Year's Day",
Expand All @@ -1123,6 +1142,7 @@
"2044-08-15": "Assumption Day",
"2044-11-01": "All Saints' Day",
"2044-11-11": "National Independence Day",
"2044-12-24": "Christmas Eve",
"2044-12-25": "Christmas Day",
"2044-12-26": "Second Day of Christmas",
"2045-01-01": "New Year's Day",
Expand All @@ -1136,6 +1156,7 @@
"2045-08-15": "Assumption Day",
"2045-11-01": "All Saints' Day",
"2045-11-11": "National Independence Day",
"2045-12-24": "Christmas Eve",
"2045-12-25": "Christmas Day",
"2045-12-26": "Second Day of Christmas",
"2046-01-01": "New Year's Day",
Expand All @@ -1149,6 +1170,7 @@
"2046-08-15": "Assumption Day",
"2046-11-01": "All Saints' Day",
"2046-11-11": "National Independence Day",
"2046-12-24": "Christmas Eve",
"2046-12-25": "Christmas Day",
"2046-12-26": "Second Day of Christmas",
"2047-01-01": "New Year's Day",
Expand All @@ -1162,6 +1184,7 @@
"2047-08-15": "Assumption Day",
"2047-11-01": "All Saints' Day",
"2047-11-11": "National Independence Day",
"2047-12-24": "Christmas Eve",
"2047-12-25": "Christmas Day",
"2047-12-26": "Second Day of Christmas",
"2048-01-01": "New Year's Day",
Expand All @@ -1175,6 +1198,7 @@
"2048-08-15": "Assumption Day",
"2048-11-01": "All Saints' Day",
"2048-11-11": "National Independence Day",
"2048-12-24": "Christmas Eve",
"2048-12-25": "Christmas Day",
"2048-12-26": "Second Day of Christmas",
"2049-01-01": "New Year's Day",
Expand All @@ -1188,6 +1212,7 @@
"2049-08-15": "Assumption Day",
"2049-11-01": "All Saints' Day",
"2049-11-11": "National Independence Day",
"2049-12-24": "Christmas Eve",
"2049-12-25": "Christmas Day",
"2049-12-26": "Second Day of Christmas",
"2050-01-01": "New Year's Day",
Expand All @@ -1201,6 +1226,7 @@
"2050-08-15": "Assumption Day",
"2050-11-01": "All Saints' Day",
"2050-11-11": "National Independence Day",
"2050-12-24": "Christmas Eve",
"2050-12-25": "Christmas Day",
"2050-12-26": "Second Day of Christmas"
}
Loading

0 comments on commit 56596d8

Please sign in to comment.