holidays 0.73__py3-none-any.whl → 0.75__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holidays/calendars/__init__.py +1 -1
- holidays/calendars/balinese_saka.py +1 -1
- holidays/calendars/hindu.py +26 -26
- holidays/calendars/islamic.py +161 -0
- holidays/calendars/thai.py +2 -2
- holidays/constants.py +9 -2
- holidays/countries/__init__.py +202 -176
- holidays/countries/afghanistan.py +2 -2
- holidays/countries/aland_islands.py +63 -0
- holidays/countries/albania.py +3 -3
- holidays/countries/algeria.py +3 -3
- holidays/countries/andorra.py +1 -1
- holidays/countries/angola.py +11 -11
- holidays/countries/anguilla.py +175 -0
- holidays/countries/antigua_and_barbuda.py +10 -10
- holidays/countries/argentina.py +107 -104
- holidays/countries/armenia.py +2 -2
- holidays/countries/aruba.py +7 -7
- holidays/countries/australia.py +18 -18
- holidays/countries/azerbaijan.py +14 -14
- holidays/countries/bahamas.py +9 -9
- holidays/countries/bahrain.py +3 -3
- holidays/countries/bangladesh.py +1 -1
- holidays/countries/barbados.py +7 -7
- holidays/countries/belarus.py +9 -9
- holidays/countries/belgium.py +3 -3
- holidays/countries/belize.py +3 -3
- holidays/countries/benin.py +199 -0
- holidays/countries/bermuda.py +152 -0
- holidays/countries/bolivia.py +8 -8
- holidays/countries/bosnia_and_herzegovina.py +4 -4
- holidays/countries/botswana.py +4 -4
- holidays/countries/brazil.py +4 -4
- holidays/countries/british_virgin_islands.py +205 -0
- holidays/countries/brunei.py +43 -43
- holidays/countries/bulgaria.py +3 -3
- holidays/countries/burkina_faso.py +1 -1
- holidays/countries/burundi.py +2 -2
- holidays/countries/cambodia.py +6 -6
- holidays/countries/cameroon.py +3 -3
- holidays/countries/canada.py +9 -9
- holidays/countries/chad.py +2 -2
- holidays/countries/chile.py +8 -8
- holidays/countries/china.py +31 -31
- holidays/countries/cocos_islands.py +6 -6
- holidays/countries/colombia.py +7 -7
- holidays/countries/congo.py +2 -2
- holidays/countries/cook_islands.py +148 -0
- holidays/countries/costa_rica.py +1 -1
- holidays/countries/croatia.py +1 -1
- holidays/countries/cuba.py +9 -9
- holidays/countries/curacao.py +2 -2
- holidays/countries/cyprus.py +1 -1
- holidays/countries/czechia.py +3 -3
- holidays/countries/denmark.py +2 -2
- holidays/countries/djibouti.py +1 -1
- holidays/countries/dominica.py +11 -11
- holidays/countries/dominican_republic.py +2 -2
- holidays/countries/ecuador.py +1 -1
- holidays/countries/egypt.py +1 -1
- holidays/countries/el_salvador.py +3 -3
- holidays/countries/equatorial_guinea.py +150 -0
- holidays/countries/eswatini.py +3 -3
- holidays/countries/ethiopia.py +6 -6
- holidays/countries/fiji.py +12 -12
- holidays/countries/finland.py +200 -36
- holidays/countries/france.py +1 -1
- holidays/countries/french_southern_territories.py +1 -5
- holidays/countries/gabon.py +4 -4
- holidays/countries/georgia.py +2 -2
- holidays/countries/germany.py +3 -3
- holidays/countries/ghana.py +2 -2
- holidays/countries/greece.py +1 -1
- holidays/countries/greenland.py +2 -2
- holidays/countries/grenada.py +1 -1
- holidays/countries/guatemala.py +4 -4
- holidays/countries/guernsey.py +31 -31
- holidays/countries/guinea.py +6 -6
- holidays/countries/guyana.py +279 -0
- holidays/countries/haiti.py +3 -3
- holidays/countries/honduras.py +2 -2
- holidays/countries/hongkong.py +4 -4
- holidays/countries/hungary.py +98 -16
- holidays/countries/iceland.py +1 -1
- holidays/countries/india.py +8 -8
- holidays/countries/indonesia.py +46 -46
- holidays/countries/iran.py +2 -2
- holidays/countries/ireland.py +1 -1
- holidays/countries/italy.py +1 -1
- holidays/countries/ivory_coast.py +6 -6
- holidays/countries/jamaica.py +1 -1
- holidays/countries/japan.py +1 -1
- holidays/countries/jersey.py +23 -23
- holidays/countries/jordan.py +3 -3
- holidays/countries/kazakhstan.py +45 -45
- holidays/countries/kenya.py +13 -13
- holidays/countries/kuwait.py +4 -4
- holidays/countries/kyrgyzstan.py +1 -1
- holidays/countries/laos.py +7 -7
- holidays/countries/latvia.py +2 -2
- holidays/countries/lesotho.py +2 -2
- holidays/countries/liechtenstein.py +1 -1
- holidays/countries/lithuania.py +1 -1
- holidays/countries/macau.py +19 -19
- holidays/countries/madagascar.py +2 -2
- holidays/countries/malawi.py +2 -2
- holidays/countries/malaysia.py +6 -6
- holidays/countries/maldives.py +3 -3
- holidays/countries/malta.py +6 -6
- holidays/countries/marshall_islands.py +2 -2
- holidays/countries/mauritania.py +2 -2
- holidays/countries/mexico.py +4 -4
- holidays/countries/micronesia.py +205 -0
- holidays/countries/monaco.py +1 -1
- holidays/countries/montenegro.py +3 -3
- holidays/countries/morocco.py +4 -4
- holidays/countries/namibia.py +85 -26
- holidays/countries/nauru.py +129 -0
- holidays/countries/nepal.py +16 -16
- holidays/countries/netherlands.py +1 -1
- holidays/countries/new_zealand.py +2 -2
- holidays/countries/nicaragua.py +2 -2
- holidays/countries/niger.py +320 -0
- holidays/countries/nigeria.py +1 -1
- holidays/countries/north_macedonia.py +268 -16
- holidays/countries/norway.py +38 -5
- holidays/countries/oman.py +12 -12
- holidays/countries/pakistan.py +7 -7
- holidays/countries/palau.py +7 -7
- holidays/countries/panama.py +5 -5
- holidays/countries/papua_new_guinea.py +15 -15
- holidays/countries/paraguay.py +7 -7
- holidays/countries/peru.py +1 -1
- holidays/countries/philippines.py +18 -18
- holidays/countries/poland.py +1 -1
- holidays/countries/portugal.py +5 -5
- holidays/countries/qatar.py +7 -7
- holidays/countries/romania.py +1 -1
- holidays/countries/russia.py +28 -28
- holidays/countries/saint_kitts_and_nevis.py +16 -16
- holidays/countries/saint_lucia.py +3 -3
- holidays/countries/samoa.py +3 -3
- holidays/countries/sao_tome_and_principe.py +2 -2
- holidays/countries/saudi_arabia.py +3 -3
- holidays/countries/senegal.py +193 -0
- holidays/countries/seychelles.py +15 -15
- holidays/countries/sierra_leone.py +5 -5
- holidays/countries/singapore.py +12 -8
- holidays/countries/slovakia.py +1 -1
- holidays/countries/slovenia.py +3 -3
- holidays/countries/solomon_islands.py +220 -0
- holidays/countries/south_africa.py +4 -4
- holidays/countries/south_korea.py +7 -7
- holidays/countries/spain.py +18 -18
- holidays/countries/sri_lanka.py +26 -26
- holidays/countries/suriname.py +5 -5
- holidays/countries/svalbard_and_jan_mayen.py +47 -0
- holidays/countries/sweden.py +2 -2
- holidays/countries/switzerland.py +1 -1
- holidays/countries/taiwan.py +41 -41
- holidays/countries/tanzania.py +15 -15
- holidays/countries/thailand.py +85 -85
- holidays/countries/timor_leste.py +106 -104
- holidays/countries/togo.py +3 -3
- holidays/countries/tonga.py +16 -16
- holidays/countries/trinidad_and_tobago.py +4 -4
- holidays/countries/tunisia.py +1 -1
- holidays/countries/turkey.py +4 -4
- holidays/countries/turks_and_caicos_islands.py +134 -0
- holidays/countries/tuvalu.py +7 -7
- holidays/countries/ukraine.py +51 -51
- holidays/countries/united_arab_emirates.py +22 -22
- holidays/countries/united_kingdom.py +2 -2
- holidays/countries/united_states.py +39 -39
- holidays/countries/uruguay.py +6 -6
- holidays/countries/uzbekistan.py +3 -3
- holidays/countries/vanuatu.py +2 -2
- holidays/countries/vatican_city.py +11 -11
- holidays/countries/venezuela.py +8 -8
- holidays/countries/vietnam.py +7 -7
- holidays/countries/yemen.py +207 -0
- holidays/countries/zambia.py +3 -3
- holidays/deprecations/v1_incompatibility.py +1 -1
- holidays/financial/__init__.py +5 -5
- holidays/financial/brasil_bolsa_balcao.py +9 -9
- holidays/financial/european_central_bank.py +3 -3
- holidays/financial/ice_futures_europe.py +2 -2
- holidays/financial/ny_stock_exchange.py +4 -5
- holidays/groups/__init__.py +1 -1
- holidays/groups/chinese.py +3 -3
- holidays/groups/christian.py +4 -4
- holidays/groups/international.py +9 -9
- holidays/groups/islamic.py +16 -6
- holidays/groups/sinhala.py +12 -12
- holidays/groups/thai.py +3 -3
- holidays/locale/ar/LC_MESSAGES/YE.mo +0 -0
- holidays/locale/en_AI/LC_MESSAGES/AI.mo +0 -0
- holidays/locale/en_BM/LC_MESSAGES/BM.mo +0 -0
- holidays/locale/en_CK/LC_MESSAGES/CK.mo +0 -0
- holidays/locale/en_FM/LC_MESSAGES/FM.mo +0 -0
- holidays/locale/en_GY/LC_MESSAGES/GY.mo +0 -0
- holidays/locale/en_NA/LC_MESSAGES/NA.mo +0 -0
- holidays/locale/en_NR/LC_MESSAGES/NR.mo +0 -0
- holidays/locale/en_TC/LC_MESSAGES/TC.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BJ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/BM.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/CK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/FM.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GQ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/GY.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/MK.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NA.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NE.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/NR.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/SN.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TC.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/VG.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/YE.mo +0 -0
- holidays/locale/en_VG/LC_MESSAGES/VG.mo +0 -0
- holidays/locale/es/LC_MESSAGES/GQ.mo +0 -0
- holidays/locale/fi/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/fi/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/fr_BJ/LC_MESSAGES/BJ.mo +0 -0
- holidays/locale/fr_NE/LC_MESSAGES/NE.mo +0 -0
- holidays/locale/fr_SN/LC_MESSAGES/SN.mo +0 -0
- holidays/locale/mk/LC_MESSAGES/MK.mo +0 -0
- holidays/locale/no/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/sv_FI/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/sv_FI/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/th/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/th/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/th/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/AX.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/FI.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/MK.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/NA.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/SJ.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/TH.mo +0 -0
- holidays/registry.py +16 -0
- holidays/version.py +1 -1
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/METADATA +121 -10
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/RECORD +251 -192
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/WHEEL +1 -1
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/licenses/CONTRIBUTORS +5 -0
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/licenses/LICENSE +0 -0
- {holidays-0.73.dist-info → holidays-0.75.dist-info}/top_level.txt +0 -0
holidays/countries/norway.py
CHANGED
|
@@ -21,19 +21,52 @@ class Norway(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
21
21
|
"""Norway holidays.
|
|
22
22
|
|
|
23
23
|
References:
|
|
24
|
-
* <https://lovdata.no/dokument/NL/lov/1947-04-26-1>
|
|
24
|
+
* <https://web.archive.org/web/20250102052441/https://lovdata.no/dokument/NL/lov/1947-04-26-1>
|
|
25
25
|
* <https://no.wikipedia.org/wiki/Helligdager_i_Norge>
|
|
26
|
-
* <https://www.timeanddate.no/merkedag/norge
|
|
26
|
+
* <https://web.archive.org/web/20250416120557/https://www.timeanddate.no/merkedag/norge>
|
|
27
27
|
|
|
28
28
|
Note that holidays falling on a sunday is "lost", it will not be moved
|
|
29
29
|
to another day to make up for the collision.
|
|
30
30
|
|
|
31
|
-
In Norway, ALL sundays are considered a holiday (https://snl.no/helligdag).
|
|
31
|
+
In Norway, ALL sundays are considered a holiday (https://web.archive.org/web/20250202193959/https://snl.no/helligdag).
|
|
32
32
|
Initialize this class with `include_sundays=False` to not include sundays as a holiday.
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
country = "NO"
|
|
36
36
|
default_language = "no"
|
|
37
|
+
subdivisions: tuple[str, ...] = (
|
|
38
|
+
"03", # Oslo.
|
|
39
|
+
"11", # Rogaland.
|
|
40
|
+
"15", # Møre og Romsdal.
|
|
41
|
+
"18", # Nordland.
|
|
42
|
+
"21", # Svalbard.
|
|
43
|
+
"22", # Jan Mayen.
|
|
44
|
+
"30", # Viken.
|
|
45
|
+
"34", # Innlandet.
|
|
46
|
+
"38", # Vestfold og Telemark.
|
|
47
|
+
"42", # Agder.
|
|
48
|
+
"46", # Vestland.
|
|
49
|
+
"50", # Trøndelag (Trööndelage).
|
|
50
|
+
"54", # Troms og Finnmark (Romssa ja Finnmárkku, Tromssan ja Finmarkun).
|
|
51
|
+
)
|
|
52
|
+
subdivisions_aliases = {
|
|
53
|
+
"Oslo": "03",
|
|
54
|
+
"Rogaland": "11",
|
|
55
|
+
"Møre og Romsdal": "15",
|
|
56
|
+
"Nordland": "18",
|
|
57
|
+
"Svalbard": "21",
|
|
58
|
+
"Jan Mayen": "22",
|
|
59
|
+
"Viken": "30",
|
|
60
|
+
"Innlandet": "34",
|
|
61
|
+
"Vestfold og Telemark": "38",
|
|
62
|
+
"Agder": "42",
|
|
63
|
+
"Vestland": "46",
|
|
64
|
+
"Trööndelage": "50",
|
|
65
|
+
"Trøndelag": "50",
|
|
66
|
+
"Romssa ja Finnmárkku": "54",
|
|
67
|
+
"Troms og Finnmark": "54",
|
|
68
|
+
"Tromssan ja Finmarkun": "54",
|
|
69
|
+
}
|
|
37
70
|
supported_languages = ("en_US", "no", "th", "uk")
|
|
38
71
|
|
|
39
72
|
def __init__(self, include_sundays: bool = False, *args, **kwargs):
|
|
@@ -63,7 +96,7 @@ class Norway(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
63
96
|
# Easter Monday.
|
|
64
97
|
self._add_easter_monday(tr("Andre påskedag"))
|
|
65
98
|
|
|
66
|
-
# Source: https://lovdata.no/dokument/NL/lov/1947-04-26-1
|
|
99
|
+
# Source: https://web.archive.org/web/20250102052441/https://lovdata.no/dokument/NL/lov/1947-04-26-1
|
|
67
100
|
if self._year >= 1947:
|
|
68
101
|
# Labor Day.
|
|
69
102
|
self._add_labor_day(tr("Arbeidernes dag"))
|
|
@@ -80,7 +113,7 @@ class Norway(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
80
113
|
# Whit Monday.
|
|
81
114
|
self._add_whit_monday(tr("Andre pinsedag"))
|
|
82
115
|
|
|
83
|
-
# According to https://no.wikipedia.org/wiki/
|
|
116
|
+
# According to https://no.wikipedia.org/wiki/Første_juledag,
|
|
84
117
|
# these dates are only valid from year > 1700
|
|
85
118
|
# Wikipedia has no source for the statement, so leaving this be for now
|
|
86
119
|
|
holidays/countries/oman.py
CHANGED
|
@@ -39,11 +39,11 @@ class Oman(HolidayBase, IslamicHolidays):
|
|
|
39
39
|
|
|
40
40
|
References:
|
|
41
41
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Oman>
|
|
42
|
-
* [Independence](https://
|
|
43
|
-
* [Weekend](https://abnnews.com/the-sultanate-of-oman-changes-weekend-days-from-01-may-2013/)
|
|
44
|
-
* [Decree 56/2020](https://decree.om/2020/rd20200056/)
|
|
45
|
-
* [Decree 88/2022](https://decree.om/2022/rd20220088/)
|
|
46
|
-
* [Decree 15/2025 (National day is moved)](https://decree.om/2025/rd20250015/)
|
|
42
|
+
* [Independence](https://web.archive.org/web/20250211055127/https://omaninfo.om/pages/175/show/572)
|
|
43
|
+
* [Weekend](https://web.archive.org/web/20250213121638/https://abnnews.com/the-sultanate-of-oman-changes-weekend-days-from-01-may-2013/)
|
|
44
|
+
* [Decree 56/2020](https://web.archive.org/web/20240522150742/https://decree.om/2020/rd20200056/)
|
|
45
|
+
* [Decree 88/2022](https://web.archive.org/web/20221207194900/https://decree.om/2022/rd20220088/)
|
|
46
|
+
* [Decree 15/2025 (National day is moved)](https://web.archive.org/web/20250121132446/https://decree.om/2025/rd20250015/)
|
|
47
47
|
"""
|
|
48
48
|
|
|
49
49
|
country = "OM"
|
|
@@ -53,7 +53,7 @@ class Oman(HolidayBase, IslamicHolidays):
|
|
|
53
53
|
start_year = 1970
|
|
54
54
|
supported_languages = ("ar", "en_US")
|
|
55
55
|
|
|
56
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
56
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
57
57
|
"""
|
|
58
58
|
Args:
|
|
59
59
|
islamic_show_estimated:
|
|
@@ -122,7 +122,7 @@ class OMN(Oman):
|
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
class OmanIslamicHolidays(_CustomIslamicHolidays):
|
|
125
|
-
# https://www.timeanddate.com/holidays/oman/muharram-new-year
|
|
125
|
+
# https://web.archive.org/web/20240911084650/https://www.timeanddate.com/holidays/oman/muharram-new-year
|
|
126
126
|
HIJRI_NEW_YEAR_DATES = {
|
|
127
127
|
2018: (SEP, 11),
|
|
128
128
|
2019: (SEP, 1),
|
|
@@ -133,7 +133,7 @@ class OmanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
133
133
|
2024: (JUL, 7),
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
# https://www.timeanddate.com/holidays/oman/prophet-birthday
|
|
136
|
+
# https://web.archive.org/web/20240810230306/https://www.timeanddate.com/holidays/oman/prophet-birthday
|
|
137
137
|
MAWLID_DATES = {
|
|
138
138
|
2018: (NOV, 20),
|
|
139
139
|
2019: (NOV, 9),
|
|
@@ -144,7 +144,7 @@ class OmanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
144
144
|
2024: (SEP, 15),
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
# https://www.timeanddate.com/holidays/oman/isra-miraj
|
|
147
|
+
# https://web.archive.org/web/20241231191036/https://www.timeanddate.com/holidays/oman/isra-miraj
|
|
148
148
|
ISRA_AND_MIRAJ_DATES = {
|
|
149
149
|
2018: (APR, 13),
|
|
150
150
|
2019: (APR, 3),
|
|
@@ -156,7 +156,7 @@ class OmanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
156
156
|
2025: (JAN, 27),
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
# https://www.timeanddate.com/holidays/oman/eid-al-adha
|
|
159
|
+
# https://web.archive.org/web/20240913230603/https://www.timeanddate.com/holidays/oman/eid-al-adha
|
|
160
160
|
EID_AL_ADHA_DATES = {
|
|
161
161
|
2019: (AUG, 11),
|
|
162
162
|
2020: (JUL, 31),
|
|
@@ -166,7 +166,7 @@ class OmanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
166
166
|
2024: (JUN, 17),
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
# https://www.timeanddate.com/holidays/oman/eid-al-fitr
|
|
169
|
+
# https://web.archive.org/web/20241231191036/https://www.timeanddate.com/holidays/oman/eid-al-fitr
|
|
170
170
|
EID_AL_FITR_DATES = {
|
|
171
171
|
2019: (JUN, 4),
|
|
172
172
|
2020: (MAY, 24),
|
|
@@ -177,7 +177,7 @@ class OmanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
177
177
|
2025: (MAR, 31),
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
# https://www.timeanddate.com/holidays/oman/ramadan-begins
|
|
180
|
+
# https://web.archive.org/web/20240814104839/https://www.timeanddate.com/holidays/oman/ramadan-begins
|
|
181
181
|
RAMADAN_BEGINNING_DATES = {
|
|
182
182
|
2023: (MAR, 23),
|
|
183
183
|
2024: (MAR, 12),
|
holidays/countries/pakistan.py
CHANGED
|
@@ -24,8 +24,8 @@ class Pakistan(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
24
24
|
References:
|
|
25
25
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Pakistan>
|
|
26
26
|
* <https://ur.wikipedia.org/wiki/تعطیلات_پاکستان>
|
|
27
|
-
* [Public and optional holidays](https://cabinet.gov.pk/Detail/OTE2ODBiYmItZmI0MS00NDAwLWE5NGUtYmE1MGVjYzllMzAz)
|
|
28
|
-
* [No.10-01/2024-Min-II](https://cabinet.gov.pk/SiteImage/Misc/files/Holidays/28-5-24.pdf)
|
|
27
|
+
* [Public and optional holidays](https://web.archive.org/web/20250118105814/https://cabinet.gov.pk/Detail/OTE2ODBiYmItZmI0MS00NDAwLWE5NGUtYmE1MGVjYzllMzAz)
|
|
28
|
+
* [No.10-01/2024-Min-II](https://web.archive.org/web/20241103080918/https://cabinet.gov.pk/SiteImage/Misc/files/Holidays/28-5-24.pdf)
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
31
|
country = "PK"
|
|
@@ -35,7 +35,7 @@ class Pakistan(HolidayBase, InternationalHolidays, IslamicHolidays):
|
|
|
35
35
|
start_year = 1948
|
|
36
36
|
supported_languages = ("en_PK", "en_US", "ur_PK")
|
|
37
37
|
|
|
38
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
38
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
39
39
|
"""
|
|
40
40
|
Args:
|
|
41
41
|
islamic_show_estimated:
|
|
@@ -105,7 +105,7 @@ class PAK(Pakistan):
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
class PakistanIslamicHolidays(_CustomIslamicHolidays):
|
|
108
|
-
# https://www.timeanddate.com/holidays/pakistan/first-day-ashura
|
|
108
|
+
# https://web.archive.org/web/20241123192805/https://www.timeanddate.com/holidays/pakistan/first-day-ashura
|
|
109
109
|
|
|
110
110
|
ASHURA_DATES = {
|
|
111
111
|
2005: (FEB, 18),
|
|
@@ -130,7 +130,7 @@ class PakistanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
130
130
|
2024: (JUL, 16),
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
# https://www.timeanddate.com/holidays/pakistan/eid-ul-azha
|
|
133
|
+
# https://web.archive.org/web/20250424085932/https://www.timeanddate.com/holidays/pakistan/eid-ul-azha
|
|
134
134
|
EID_AL_ADHA_DATES = {
|
|
135
135
|
2005: (JAN, 21),
|
|
136
136
|
2006: ((JAN, 10), (DEC, 31)),
|
|
@@ -154,7 +154,7 @@ class PakistanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
154
154
|
2024: (JUN, 17),
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
# https://www.timeanddate.com/holidays/pakistan/eid-ul-fitr-1
|
|
157
|
+
# https://web.archive.org/web/20250414111814/https://www.timeanddate.com/holidays/pakistan/eid-ul-fitr-1
|
|
158
158
|
EID_AL_FITR_DATES = {
|
|
159
159
|
2005: (NOV, 4),
|
|
160
160
|
2006: (OCT, 24),
|
|
@@ -179,7 +179,7 @@ class PakistanIslamicHolidays(_CustomIslamicHolidays):
|
|
|
179
179
|
2025: (MAR, 31),
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
# https://www.timeanddate.com/holidays/pakistan/eid-milad-un-nabi
|
|
182
|
+
# https://web.archive.org/web/20240529050144/https://www.timeanddate.com/holidays/pakistan/eid-milad-un-nabi
|
|
183
183
|
MAWLID_DATES = {
|
|
184
184
|
2005: (APR, 22),
|
|
185
185
|
2006: (APR, 11),
|
holidays/countries/palau.py
CHANGED
|
@@ -20,10 +20,10 @@ class Palau(ObservedHolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
20
20
|
"""Palau holidays.
|
|
21
21
|
|
|
22
22
|
References:
|
|
23
|
-
* [Chapter 7, Holidays](http://www.paclii.org/pw/legis/consol_act/gpt1262/)
|
|
24
|
-
* <https://www.palaugov.pw/wp-content/uploads/2017/11/RPPL-No.-10-15-re.-Family-Day-Holiday.pdf>
|
|
25
|
-
* [EO336 Memorial Day repealed](https://www.facebook.com/PalauPresident/posts/195883107230463)
|
|
26
|
-
* [Earliest source for President's Day](https://www.taiwanembassy.org/pal_en/post/792.html)
|
|
23
|
+
* [Chapter 7, Holidays](https://web.archive.org/web/20250130144425/http://www.paclii.org/pw/legis/consol_act/gpt1262/)
|
|
24
|
+
* <https://web.archive.org/web/20240627055859/https://www.palaugov.pw/wp-content/uploads/2017/11/RPPL-No.-10-15-re.-Family-Day-Holiday.pdf>
|
|
25
|
+
* [EO336 Memorial Day repealed](https://web.archive.org/web/20250429131246/https://www.facebook.com/plugins/post.php?href=https://www.facebook.com/PalauPresident/posts/195883107230463)
|
|
26
|
+
* [Earliest source for President's Day](https://web.archive.org/web/20250429075658/https://www.taiwanembassy.org/pal_en/post/792.html)
|
|
27
27
|
|
|
28
28
|
If any of the holidays enumerated in section 701 of this chapter falls on Sunday, the
|
|
29
29
|
following Monday shall be observed as a holiday. If any of the holidays enumerated in
|
|
@@ -109,9 +109,9 @@ class PalauStaticHolidays:
|
|
|
109
109
|
"""Palau special holidays.
|
|
110
110
|
|
|
111
111
|
References:
|
|
112
|
-
* <https://www.facebook.com/photo?fbid=1774513196034105&set=a.175933635892077>
|
|
113
|
-
* <https://www.facebook.com/photo/?fbid=1794692910682800&set=a.175933635892077>
|
|
114
|
-
* <https://www.facebook.com/photo/?fbid=1408133829338712&set=a.175933635892077>
|
|
112
|
+
* <https://web.archive.org/web/20250608202645/https://www.facebook.com/photo?fbid=1774513196034105&set=a.175933635892077>
|
|
113
|
+
* <https://web.archive.org/web/20250608202650/https://www.facebook.com/photo/?fbid=1794692910682800&set=a.175933635892077>
|
|
114
|
+
* <https://web.archive.org/web/20250608202639/https://www.facebook.com/photo/?fbid=1408133829338712&set=a.175933635892077>
|
|
115
115
|
"""
|
|
116
116
|
|
|
117
117
|
special_armed_forces_holidays = {
|
holidays/countries/panama.py
CHANGED
|
@@ -23,11 +23,11 @@ class Panama(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
|
|
|
23
23
|
|
|
24
24
|
References:
|
|
25
25
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Panama>
|
|
26
|
-
* [Labor Code 1947](https://docs.panama.justia.com/federales/leyes/67-de-1947-nov-26-1947.pdf)
|
|
27
|
-
* [Cabinet Decree #347 of 1969](https://docs.panama.justia.com/federales/decretos-de-gabinete/decreto-de-gabinete-347-de-1969-nov-14-1969.pdf)
|
|
28
|
-
* [Labor Code 1971](https://www.mitradel.gob.pa/wp-content/uploads/2016/12/
|
|
29
|
-
* [Law #4 of Jun 25, 1990](https://s3-legispan.asamblea.gob.pa/legispan/NORMAS/1990/1990/LEY/Administrador%20Legispan_21570_1990_7_2_ASAMBLEA%20LEGISLATIVA_4.pdf)
|
|
30
|
-
* [Law #55 of Nov 7, 2001](https://docs.panama.justia.com/federales/leyes/55-de-2001-nov-14-2001.pdf)
|
|
26
|
+
* [Labor Code 1947](https://web.archive.org/web/20250429081529/https://docs.panama.justia.com/federales/leyes/67-de-1947-nov-26-1947.pdf)
|
|
27
|
+
* [Cabinet Decree #347 of 1969](https://web.archive.org/web/20250429081519/https://docs.panama.justia.com/federales/decretos-de-gabinete/decreto-de-gabinete-347-de-1969-nov-14-1969.pdf)
|
|
28
|
+
* [Labor Code 1971](https://web.archive.org/web/20240420050417/https://www.mitradel.gob.pa/wp-content/uploads/2016/12/código-detrabajo.pdf)
|
|
29
|
+
* [Law #4 of Jun 25, 1990](https://web.archive.org/web/20250429081538/https://s3-legispan.asamblea.gob.pa/legispan/NORMAS/1990/1990/LEY/Administrador%20Legispan_21570_1990_7_2_ASAMBLEA%20LEGISLATIVA_4.pdf)
|
|
30
|
+
* [Law #55 of Nov 7, 2001](https://web.archive.org/web/20230401210617/https://docs.panama.justia.com/federales/leyes/55-de-2001-nov-14-2001.pdf)
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
33
|
country = "PA"
|
|
@@ -21,18 +21,18 @@ class PapuaNewGuinea(
|
|
|
21
21
|
"""Papua New Guinea holidays.
|
|
22
22
|
|
|
23
23
|
References:
|
|
24
|
-
* [Public Holidays Act 1953](http://www.paclii.org/pg/legis/consol_act/pha1953163.pdf)
|
|
24
|
+
* [Public Holidays Act 1953](https://web.archive.org/web/20250406104407/http://www.paclii.org/pg/legis/consol_act/pha1953163.pdf)
|
|
25
25
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Papua_New_Guinea>
|
|
26
|
-
* <https://pnghausbung.com/kings-birthday-holiday-to-be-observed-on-16th-june/>
|
|
26
|
+
* <https://web.archive.org/web/20240612224551/https://pnghausbung.com/kings-birthday-holiday-to-be-observed-on-16th-june/>
|
|
27
27
|
|
|
28
28
|
Checked With:
|
|
29
|
-
* <https://www.ipa.gov.pg/public/Holidays.aspx>
|
|
30
|
-
* <https://www.businessadvantagepng.com/papua-new-guinea-public-for-holidays/>
|
|
31
|
-
* [2019](https://www.scribd.com/document/465334129/PNG-2019-Gazetted-Public-Holidays-pdf)
|
|
32
|
-
* [2020](https://publicholidays.asia/wp-content/uploads/2020/01/PNG_PublicHolidays_2020.png)
|
|
33
|
-
* [2021](https://publicholidays.asia/wp-content/uploads/2020/12/PNG_PublicHolidays_2021.pdf)
|
|
34
|
-
* [2022](https://publicholidays.asia/wp-content/uploads/2022/01/PNG_PublicHolidays_2022.pdf)
|
|
35
|
-
* [2023](https://publicholidays.asia/wp-content/uploads/2022/12/PNG_PublicHolidays_2023.pdf)
|
|
29
|
+
* <https://web.archive.org/web/20250215234848/https://www.ipa.gov.pg/public/Holidays.aspx>
|
|
30
|
+
* <https://web.archive.org/web/20240119163205/https://www.businessadvantagepng.com/papua-new-guinea-public-for-holidays/>
|
|
31
|
+
* [2019](https://web.archive.org/web/20250429081247/https://www.scribd.com/document/465334129/PNG-2019-Gazetted-Public-Holidays-pdf)
|
|
32
|
+
* [2020](https://web.archive.org/web/20250429081229/https://publicholidays.asia/wp-content/uploads/2020/01/PNG_PublicHolidays_2020.png)
|
|
33
|
+
* [2021](https://web.archive.org/web/20240625200332/https://publicholidays.asia/wp-content/uploads/2020/12/PNG_PublicHolidays_2021.pdf)
|
|
34
|
+
* [2022](https://web.archive.org/web/20230530042019/https://publicholidays.asia/wp-content/uploads/2022/01/PNG_PublicHolidays_2022.pdf)
|
|
35
|
+
* [2023](https://web.archive.org/web/20240413053729/https://publicholidays.asia/wp-content/uploads/2022/12/PNG_PublicHolidays_2023.pdf)
|
|
36
36
|
|
|
37
37
|
Should a holiday listed, other than the Christmas Day, fall on a Sunday the next Monday
|
|
38
38
|
shall, unless the Head of State, acting on advice, declares otherwise, be observed as a
|
|
@@ -135,14 +135,14 @@ class PapuaNewGuineaStaticHolidays:
|
|
|
135
135
|
"""Papua New Guinea special holidays.
|
|
136
136
|
|
|
137
137
|
References:
|
|
138
|
-
* [2018 APEC Public Holiday](https://www.rnz.co.nz/international/pacific-news/369989/papua-new-guinea-declares-apec-holiday)
|
|
139
|
-
* [2021 Sir Mekere Morauta's Funeral](https://pnghausbung.com/friday-8th-declared-a-nation-wide-public-holiday-to-honour-late-sir-mekere/)
|
|
140
|
-
* [2021 Sir Michael Somare's Day of Mourning](https://pnghausbung.com/2-weeks-mourning-period-for-late-sir-micheal-to-start-with-public-holiday-on-monday-pm/)
|
|
141
|
-
* [2022 QE2's Funeral](https://www.thenational.com.pg/column-1-553/)
|
|
142
|
-
* [2023 Sir Rabbie Namaliu's Funeral](https://pnghausbung.com/breaking-public-holiday-tomorrow-in-respect-of-late-sir-rabbies-state-funeral/)
|
|
138
|
+
* [2018 APEC Public Holiday](https://web.archive.org/web/20220813203130/https://www.rnz.co.nz/international/pacific-news/369989/papua-new-guinea-declares-apec-holiday)
|
|
139
|
+
* [2021 Sir Mekere Morauta's Funeral](https://web.archive.org/web/20241206065336/https://pnghausbung.com/friday-8th-declared-a-nation-wide-public-holiday-to-honour-late-sir-mekere/)
|
|
140
|
+
* [2021 Sir Michael Somare's Day of Mourning](https://web.archive.org/web/20241207121149/https://pnghausbung.com/2-weeks-mourning-period-for-late-sir-micheal-to-start-with-public-holiday-on-monday-pm/)
|
|
141
|
+
* [2022 QE2's Funeral](https://web.archive.org/web/20220914111729/https://www.thenational.com.pg/column-1-553/)
|
|
142
|
+
* [2023 Sir Rabbie Namaliu's Funeral](https://web.archive.org/web/20241109201443/https://pnghausbung.com/breaking-public-holiday-tomorrow-in-respect-of-late-sir-rabbies-state-funeral/)
|
|
143
143
|
|
|
144
144
|
Nov 15, 2018 is an APEC Holiday too, but for Port Moresby-only:
|
|
145
|
-
<https://www.businessadvantagepng.com/public-holidays-declared-in-port-moresby-due-to-apec-summit-says-ceo/>
|
|
145
|
+
<https://web.archive.org/web/20250120182905/https://www.businessadvantagepng.com/public-holidays-declared-in-port-moresby-due-to-apec-summit-says-ceo/>
|
|
146
146
|
|
|
147
147
|
Starting from 2021 afterwards all state funerals are given special public holidays, though only
|
|
148
148
|
some are day-off nationwide.
|
holidays/countries/paraguay.py
CHANGED
|
@@ -22,13 +22,13 @@ class Paraguay(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHoli
|
|
|
22
22
|
"""Paraguay holidays.
|
|
23
23
|
|
|
24
24
|
References:
|
|
25
|
-
* [Ley 8/1990](https://www.bacn.gov.py/leyes-paraguayas/2358/ley-n-8--por-la-cual-se-determinan-los-feriados-de-la-republica)
|
|
26
|
-
* [Ley 715/1995](https://www.bacn.gov.py/leyes-paraguayas/792/ley-n-715--amplia-la-ley-no-0890-)
|
|
27
|
-
* [Ley 1.601/2000](https://www.bacn.gov.py/leyes-paraguayas/1677/ley-n-1601--modifica-el-articulo-1-de-la-ley-no-71595-que-amplia-la-ley-n-0890-por-la-cual-se-determinan-los-feriados-de-la-republica)
|
|
28
|
-
* [Ley 1.723/2001](https://www.bacn.gov.py/leyes-paraguayas/634/ley-n-1723--autoriza-al-poder-ejecutivo-a-trasladar-los-feriados-nacionales-al-dia-lunes)
|
|
29
|
-
* [Ley 4.531/2011](https://www.bacn.gov.py/leyes-paraguayas/3831/ley-n-4531-restablece-el-dia-14-de-mayo-de-cada-ano-como-feriado-nacional)
|
|
30
|
-
* <https://es.wikipedia.org/wiki/Anexo:
|
|
31
|
-
* <
|
|
25
|
+
* [Ley 8/1990](https://web.archive.org/web/20250427173904/https://www.bacn.gov.py/leyes-paraguayas/2358/ley-n-8--por-la-cual-se-determinan-los-feriados-de-la-republica)
|
|
26
|
+
* [Ley 715/1995](https://web.archive.org/web/20250427174040/https://www.bacn.gov.py/leyes-paraguayas/792/ley-n-715--amplia-la-ley-no-0890-)
|
|
27
|
+
* [Ley 1.601/2000](https://web.archive.org/web/20250427173847/https://www.bacn.gov.py/leyes-paraguayas/1677/ley-n-1601--modifica-el-articulo-1-de-la-ley-no-71595-que-amplia-la-ley-n-0890-por-la-cual-se-determinan-los-feriados-de-la-republica)
|
|
28
|
+
* [Ley 1.723/2001](https://web.archive.org/web/20250427173914/https://www.bacn.gov.py/leyes-paraguayas/634/ley-n-1723--autoriza-al-poder-ejecutivo-a-trasladar-los-feriados-nacionales-al-dia-lunes)
|
|
29
|
+
* [Ley 4.531/2011](https://web.archive.org/web/20250420210317/https://www.bacn.gov.py/leyes-paraguayas/3831/ley-n-4531-restablece-el-dia-14-de-mayo-de-cada-ano-como-feriado-nacional)
|
|
30
|
+
* <https://es.wikipedia.org/wiki/Anexo:Días_festivos_en_Paraguay>
|
|
31
|
+
* <https://web.archive.org/web/20250427131220/https://www.calendarioparaguay.com/>
|
|
32
32
|
"""
|
|
33
33
|
|
|
34
34
|
country = "PY"
|
holidays/countries/peru.py
CHANGED
|
@@ -20,7 +20,7 @@ class Peru(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
20
20
|
"""Peru holidays.
|
|
21
21
|
|
|
22
22
|
References:
|
|
23
|
-
* <https://www.gob.pe/feriados
|
|
23
|
+
* <https://web.archive.org/web/20250414165243/https://www.gob.pe/feriados/>
|
|
24
24
|
* <https://es.wikipedia.org/wiki/Anexo:Días_feriados_en_el_Perú>
|
|
25
25
|
"""
|
|
26
26
|
|
|
@@ -37,22 +37,22 @@ class Philippines(
|
|
|
37
37
|
|
|
38
38
|
References:
|
|
39
39
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_the_Philippines>
|
|
40
|
-
* [Revised Administrative Code of 1987](https://www.officialgazette.gov.ph/1987/07/25/executive-order-no-292-book-ichapter-7-regular-holidays-and-nationwide-special-days/)
|
|
41
|
-
* [Republic Act No. 9177](https://www.officialgazette.gov.ph/2002/11/13/republic-act-no-9177/)
|
|
42
|
-
* [Republic Act No. 9256](https://www.officialgazette.gov.ph/2004/02/25/republic-act-no-9256/)
|
|
43
|
-
* [Republic Act No. 9492](https://www.officialgazette.gov.ph/2007/07/24/republic-act-no-9492/)
|
|
44
|
-
* [Republic Act No. 9645](https://www.officialgazette.gov.ph/2009/06/12/republic-act-no-9645/)
|
|
45
|
-
* [Republic Act No. 9849](https://
|
|
46
|
-
* [Republic Act No. 10966](https://www.officialgazette.gov.ph/2017/12/28/republic-act-no-10966/)
|
|
47
|
-
* [Proclamation No. 944/2020](https://www.officialgazette.gov.ph/2020/05/19/proclamation-no-944-s-2020/)
|
|
48
|
-
* [Proclamation No. 985/2020](https://www.officialgazette.gov.ph/2020/07/29/proclamation-no-985-s-2020/)
|
|
49
|
-
* [Proclamation No. 90/2022](https://www.officialgazette.gov.ph/2022/11/09/proclamation-no-90-s-2022/)
|
|
50
|
-
* [Proclamation No. 665/2024](https://
|
|
51
|
-
* [Proclamation No. 729/2024](https://
|
|
52
|
-
* [Nationwide holidays 2018-2025](https://www.officialgazette.gov.ph/nationwide-holidays/2018/)
|
|
53
|
-
* [
|
|
54
|
-
* [Proclamation No.
|
|
55
|
-
* [Proclamation No.
|
|
40
|
+
* [Revised Administrative Code of 1987](https://web.archive.org/web/20241203234427/https://www.officialgazette.gov.ph/1987/07/25/executive-order-no-292-book-ichapter-7-regular-holidays-and-nationwide-special-days/)
|
|
41
|
+
* [Republic Act No. 9177](https://web.archive.org/web/20230930164310/https://www.officialgazette.gov.ph/2002/11/13/republic-act-no-9177/)
|
|
42
|
+
* [Republic Act No. 9256](https://web.archive.org/web/20240706140401/https://www.officialgazette.gov.ph/2004/02/25/republic-act-no-9256/)
|
|
43
|
+
* [Republic Act No. 9492](https://web.archive.org/web/20250413180041/http://www.officialgazette.gov.ph/2007/07/24/republic-act-no-9492/)
|
|
44
|
+
* [Republic Act No. 9645](https://web.archive.org/web/20231014172648/https://www.officialgazette.gov.ph/2009/06/12/republic-act-no-9645/)
|
|
45
|
+
* [Republic Act No. 9849](https://web.archive.org/web/20250424053703/http://officialgazette.gov.ph/2009/12/11/republic-act-no-9849/)
|
|
46
|
+
* [Republic Act No. 10966](https://web.archive.org/web/20250419183417/http://www.officialgazette.gov.ph/2017/12/28/republic-act-no-10966/)
|
|
47
|
+
* [Proclamation No. 944/2020](https://web.archive.org/web/20250428055016/https://www.officialgazette.gov.ph/2020/05/19/proclamation-no-944-s-2020/)
|
|
48
|
+
* [Proclamation No. 985/2020](https://web.archive.org/web/20230901112559/https://www.officialgazette.gov.ph/2020/07/29/proclamation-no-985-s-2020/)
|
|
49
|
+
* [Proclamation No. 90/2022](https://web.archive.org/web/20231026052921/https://www.officialgazette.gov.ph/2022/11/09/proclamation-no-90-s-2022/)
|
|
50
|
+
* [Proclamation No. 665/2024](https://archive.org/details/20241015-proc-665-frm)
|
|
51
|
+
* [Proclamation No. 729/2024](https://archive.org/details/20241030-proc-729-frm)
|
|
52
|
+
* [Nationwide holidays 2018-2025](https://web.archive.org/web/20240515022447/https://www.officialgazette.gov.ph/nationwide-holidays/2018/)
|
|
53
|
+
* [Proclamation No. 839/2025](https://archive.org/details/20250320-proc-839-frm_202506)
|
|
54
|
+
* [Proclamation No. 878/2025](https://archive.org/details/20250506-proc-878-frm_202506)
|
|
55
|
+
* [Proclamation No. 911/2025](https://archive.org/details/20250521-proc-911-frm_20250606_1800)
|
|
56
56
|
"""
|
|
57
57
|
|
|
58
58
|
country = "PH"
|
|
@@ -63,7 +63,7 @@ class Philippines(
|
|
|
63
63
|
supported_languages = ("en_PH", "en_US", "fil", "th")
|
|
64
64
|
start_year = 1988
|
|
65
65
|
|
|
66
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
66
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
67
67
|
"""
|
|
68
68
|
Args:
|
|
69
69
|
islamic_show_estimated:
|
|
@@ -186,7 +186,7 @@ class Philippines(
|
|
|
186
186
|
self._add_holiday_jul_27(tr("Founding Anniversary of Iglesia ni Cristo"))
|
|
187
187
|
|
|
188
188
|
# Added from 2025 onwards as first decreed in
|
|
189
|
-
# https://www.officialgazette.gov.ph/downloads/2024/10oct/20241030-PROC-727-FRM.pdf
|
|
189
|
+
# https://web.archive.org/web/20250326064645/https://www.officialgazette.gov.ph/downloads/2024/10oct/20241030-PROC-727-FRM.pdf
|
|
190
190
|
if self._year >= 2025:
|
|
191
191
|
# EDSA People Power Revolution Anniversary.
|
|
192
192
|
self._add_holiday_feb_25(tr("EDSA People Power Revolution Anniversary"))
|
holidays/countries/poland.py
CHANGED
|
@@ -23,7 +23,7 @@ class Poland(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolida
|
|
|
23
23
|
References:
|
|
24
24
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Poland>
|
|
25
25
|
* <https://pl.wikipedia.org/wiki/Dni_wolne_od_pracy_w_Polsce>
|
|
26
|
-
* <https://isap.sejm.gov.pl/isap.nsf/DocDetails.xsp?id=WDU20240001965>
|
|
26
|
+
* <https://web.archive.org/web/20250402103635/https://isap.sejm.gov.pl/isap.nsf/DocDetails.xsp?id=WDU20240001965>
|
|
27
27
|
"""
|
|
28
28
|
|
|
29
29
|
country = "PL"
|
holidays/countries/portugal.py
CHANGED
|
@@ -22,16 +22,16 @@ class Portugal(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
22
22
|
|
|
23
23
|
References:
|
|
24
24
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Portugal>
|
|
25
|
-
* [Labour Day](https://www.e-konomista.pt/dia-do-trabalhador/)
|
|
25
|
+
* [Labour Day](https://web.archive.org/web/20240502184140/https://www.e-konomista.pt/dia-do-trabalhador/)
|
|
26
26
|
* Portugal Day - Decreto 17.171
|
|
27
27
|
* Restoration of Independence Day - Gazeta de Lisboa, 8 de Dezembro
|
|
28
28
|
de 1823 (n.º 290), pp. 1789 e 1790
|
|
29
29
|
* Azores:
|
|
30
|
-
* <https://files.dre.pt/1s/1980/08/19200/23052305.pdf>
|
|
30
|
+
* <https://web.archive.org/web/20240811191206/https://files.dre.pt/1s/1980/08/19200/23052305.pdf>
|
|
31
31
|
* Madeira:
|
|
32
|
-
* <https://files.dre.pt/1s/1979/11/25900/28782878.pdf>
|
|
33
|
-
* <https://files.dre.pt/1s/1989/02/02800/04360436.pdf>
|
|
34
|
-
* <https://files.dre.pt/1s/2002/11/258a00/71837183.pdf>
|
|
32
|
+
* <https://web.archive.org/web/20230729205620/https://files.dre.pt/1s/1979/11/25900/28782878.pdf>
|
|
33
|
+
* <https://web.archive.org/web/20230730094358/https://files.dre.pt/1s/1989/02/02800/04360436.pdf>
|
|
34
|
+
* <https://web.archive.org/web/20230729210821/https://files.dre.pt/1s/2002/11/258a00/71837183.pdf>
|
|
35
35
|
"""
|
|
36
36
|
|
|
37
37
|
country = "PT"
|
holidays/countries/qatar.py
CHANGED
|
@@ -39,9 +39,9 @@ class Qatar(HolidayBase, InternationalHolidays, IslamicHolidays, StaticHolidays)
|
|
|
39
39
|
|
|
40
40
|
References:
|
|
41
41
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Qatar>
|
|
42
|
-
* [National Sports Day](https://hukoomi.gov.qa/en/national-sport-day)
|
|
43
|
-
* [Qatar National Day](https://www.qatar.qa/en/qatar/history-of-qatar-qatar-national-day-committee/)
|
|
44
|
-
* [Weekend](https://www.arabnews.com/node/234601)
|
|
42
|
+
* [National Sports Day](https://web.archive.org/web/20250417141518/https://hukoomi.gov.qa/en/national-sport-day)
|
|
43
|
+
* [Qatar National Day](https://web.archive.org/web/20240522081644/https://www.qatar.qa/en/qatar/history-of-qatar-qatar-national-day-committee/)
|
|
44
|
+
* [Weekend](https://web.archive.org/web/20240930093123/https://www.arabnews.com/node/234601)
|
|
45
45
|
"""
|
|
46
46
|
|
|
47
47
|
country = "QA"
|
|
@@ -52,7 +52,7 @@ class Qatar(HolidayBase, InternationalHolidays, IslamicHolidays, StaticHolidays)
|
|
|
52
52
|
supported_categories = (BANK, PUBLIC)
|
|
53
53
|
supported_languages = ("ar_QA", "en_US")
|
|
54
54
|
|
|
55
|
-
def __init__(self, islamic_show_estimated: bool = True,
|
|
55
|
+
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
|
|
56
56
|
"""
|
|
57
57
|
Args:
|
|
58
58
|
islamic_show_estimated:
|
|
@@ -108,7 +108,7 @@ class QAT(Qatar):
|
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
class QatarIslamicHolidays(_CustomIslamicHolidays):
|
|
111
|
-
# https://www.timeanddate.com/holidays/qatar/eid-al-adha
|
|
111
|
+
# https://web.archive.org/web/20250422212912/https://www.timeanddate.com/holidays/qatar/eid-al-adha
|
|
112
112
|
EID_AL_ADHA_DATES = {
|
|
113
113
|
2005: (JAN, 21),
|
|
114
114
|
2006: ((JAN, 10), (DEC, 31)),
|
|
@@ -132,7 +132,7 @@ class QatarIslamicHolidays(_CustomIslamicHolidays):
|
|
|
132
132
|
2024: (JUN, 16),
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
# https://www.timeanddate.com/holidays/qatar/eid-al-fitr
|
|
135
|
+
# https://web.archive.org/web/20241207022523/https://www.timeanddate.com/holidays/qatar/eid-al-fitr
|
|
136
136
|
EID_AL_FITR_DATES = {
|
|
137
137
|
2005: (NOV, 4),
|
|
138
138
|
2006: (OCT, 24),
|
|
@@ -162,7 +162,7 @@ class QatarStaticHolidays:
|
|
|
162
162
|
"""Qatar special holidays.
|
|
163
163
|
|
|
164
164
|
References:
|
|
165
|
-
* [New Year's Holiday](https://www.expatica.com/qa/lifestyle/holidays/qatar-public-holidays-74585/)
|
|
165
|
+
* [New Year's Holiday](https://web.archive.org/web/20250119073018/https://www.expatica.com/qa/lifestyle/holidays/qatar-public-holidays-74585/)
|
|
166
166
|
"""
|
|
167
167
|
|
|
168
168
|
# New Year's Holiday.
|
holidays/countries/romania.py
CHANGED
|
@@ -22,7 +22,7 @@ class Romania(HolidayBase, ChristianHolidays, InternationalHolidays):
|
|
|
22
22
|
|
|
23
23
|
References:
|
|
24
24
|
* <https://en.wikipedia.org/wiki/Public_holidays_in_Romania>
|
|
25
|
-
* <
|
|
25
|
+
* <https://web.archive.org/web/20250414065123/https://www.dreptonline.ro/legislatie/codul_muncii.php>
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
country = "RO"
|