holidays 0.56__py3-none-any.whl → 0.57__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.
Files changed (65) hide show
  1. holidays/__init__.py +1 -1
  2. holidays/calendars/thai.py +67 -16
  3. holidays/constants.py +1 -0
  4. holidays/countries/australia.py +180 -144
  5. holidays/countries/bahrain.py +4 -4
  6. holidays/countries/brunei.py +2 -2
  7. holidays/countries/cambodia.py +3 -3
  8. holidays/countries/djibouti.py +1 -1
  9. holidays/countries/germany.py +30 -12
  10. holidays/countries/indonesia.py +1 -1
  11. holidays/countries/iran.py +1 -1
  12. holidays/countries/jersey.py +20 -17
  13. holidays/countries/jordan.py +1 -1
  14. holidays/countries/kuwait.py +1 -1
  15. holidays/countries/laos.py +3 -3
  16. holidays/countries/south_korea.py +2 -0
  17. holidays/countries/tanzania.py +1 -1
  18. holidays/countries/thailand.py +2 -2
  19. holidays/countries/timor_leste.py +2 -2
  20. holidays/countries/united_states.py +7 -0
  21. holidays/holiday_base.py +0 -3
  22. holidays/locale/ar/LC_MESSAGES/BH.po +4 -4
  23. holidays/locale/ar/LC_MESSAGES/DJ.po +1 -1
  24. holidays/locale/ar/LC_MESSAGES/JO.po +1 -1
  25. holidays/locale/ar/LC_MESSAGES/KW.po +1 -1
  26. holidays/locale/en_AU/LC_MESSAGES/AU.mo +0 -0
  27. holidays/locale/en_AU/LC_MESSAGES/AU.po +177 -0
  28. holidays/locale/en_US/LC_MESSAGES/AU.mo +0 -0
  29. holidays/locale/en_US/LC_MESSAGES/AU.po +177 -0
  30. holidays/locale/en_US/LC_MESSAGES/BH.po +4 -4
  31. holidays/locale/en_US/LC_MESSAGES/BN.mo +0 -0
  32. holidays/locale/en_US/LC_MESSAGES/BN.po +8 -8
  33. holidays/locale/en_US/LC_MESSAGES/DJ.mo +0 -0
  34. holidays/locale/en_US/LC_MESSAGES/DJ.po +5 -5
  35. holidays/locale/en_US/LC_MESSAGES/ID.mo +0 -0
  36. holidays/locale/en_US/LC_MESSAGES/ID.po +5 -5
  37. holidays/locale/en_US/LC_MESSAGES/IR.mo +0 -0
  38. holidays/locale/en_US/LC_MESSAGES/IR.po +5 -5
  39. holidays/locale/en_US/LC_MESSAGES/JO.mo +0 -0
  40. holidays/locale/en_US/LC_MESSAGES/JO.po +6 -5
  41. holidays/locale/en_US/LC_MESSAGES/KW.mo +0 -0
  42. holidays/locale/en_US/LC_MESSAGES/KW.po +6 -5
  43. holidays/locale/en_US/LC_MESSAGES/TL.mo +0 -0
  44. holidays/locale/en_US/LC_MESSAGES/TL.po +8 -8
  45. holidays/locale/en_US/LC_MESSAGES/TZ.mo +0 -0
  46. holidays/locale/en_US/LC_MESSAGES/TZ.po +6 -6
  47. holidays/locale/fa/LC_MESSAGES/IR.po +1 -1
  48. holidays/locale/fr/LC_MESSAGES/DJ.po +1 -1
  49. holidays/locale/id/LC_MESSAGES/ID.po +1 -1
  50. holidays/locale/ms/LC_MESSAGES/BN.po +2 -2
  51. holidays/locale/pt_TL/LC_MESSAGES/TL.po +2 -2
  52. holidays/locale/sw/LC_MESSAGES/TZ.po +1 -1
  53. holidays/locale/tet/LC_MESSAGES/TL.po +2 -2
  54. holidays/locale/th/LC_MESSAGES/AU.mo +0 -0
  55. holidays/locale/th/LC_MESSAGES/AU.po +177 -0
  56. holidays/locale/th/LC_MESSAGES/BN.po +2 -2
  57. holidays/locale/th/LC_MESSAGES/DE.mo +0 -0
  58. holidays/locale/th/LC_MESSAGES/DE.po +113 -0
  59. holidays/locale/uk/LC_MESSAGES/ID.po +1 -1
  60. {holidays-0.56.dist-info → holidays-0.57.dist-info}/AUTHORS +1 -0
  61. {holidays-0.56.dist-info → holidays-0.57.dist-info}/METADATA +5 -5
  62. {holidays-0.56.dist-info → holidays-0.57.dist-info}/RECORD +65 -57
  63. {holidays-0.56.dist-info → holidays-0.57.dist-info}/WHEEL +1 -1
  64. {holidays-0.56.dist-info → holidays-0.57.dist-info}/LICENSE +0 -0
  65. {holidays-0.56.dist-info → holidays-0.57.dist-info}/top_level.txt +0 -0
@@ -46,16 +46,16 @@ class Bahrain(HolidayBase, InternationalHolidays, IslamicHolidays):
46
46
  # Labor Day.
47
47
  self._add_labor_day(tr("عيد العمال"))
48
48
 
49
- # Eid Al Fitr.
49
+ # Eid al-Fitr.
50
50
  eid_al_fitr = tr("عيد الفطر")
51
51
  self._add_eid_al_fitr_day(eid_al_fitr)
52
52
  self._add_eid_al_fitr_day_two(tr("عطلة عيد الفطر"))
53
- # Eid Al Fitr Holiday.
53
+ # Eid al-Fitr Holiday.
54
54
  self._add_eid_al_fitr_day_three(tr("عطلة عيد الفطر"))
55
55
 
56
- # Eid Al Adha.
56
+ # Eid al-Adha.
57
57
  self._add_eid_al_adha_day(tr("عيد الأضحى"))
58
- # Eid Al Adha Holiday.
58
+ # Eid al-Adha Holiday.
59
59
  self._add_eid_al_adha_day_two(tr("عطلة عيد الأضحى"))
60
60
  self._add_eid_al_adha_day_three(tr("عطلة عيد الأضحى"))
61
61
 
@@ -156,7 +156,7 @@ class Brunei(
156
156
  # Israk dan Mikraj
157
157
  # Status: In-Use.
158
158
 
159
- # Isra Mi'raj
159
+ # Isra' and Mi'raj
160
160
  for dt in self._add_isra_and_miraj_day(tr("Israk dan Mikraj")):
161
161
  self._add_observed(dt)
162
162
 
@@ -210,7 +210,7 @@ class Brunei(
210
210
  # Maulidur Rasul
211
211
  # Status: In-Use.
212
212
 
213
- # Birth of the Prophet
213
+ # Prophet's Birthday
214
214
  for dt in self._add_mawlid_day(tr("Maulidur Rasul")):
215
215
  self._add_observed(dt)
216
216
 
@@ -39,8 +39,8 @@ class Cambodia(HolidayBase, InternationalHolidays, StaticHolidays, ThaiCalendarH
39
39
  - Exact Public Holidays as per Cambodia's Official Gazette are only
40
40
  available from 2015 onwards.
41
41
 
42
- - Cambodian Lunar Calendar Holidays only work from 1941 (B.E. 2485) onwards until 2057
43
- (B.E. 2601) as we only have Thai year-type data for cross-checking until then.
42
+ - Cambodian Lunar Calendar Holidays only work from 1941 (B.E. 2485) onwards until 2157
43
+ (B.E. 2701) as we only have Thai year-type data for cross-checking until then.
44
44
 
45
45
 
46
46
  Country created by: `PPsyrius <https://github.com/PPsyrius>`__
@@ -228,7 +228,7 @@ class Cambodia(HolidayBase, InternationalHolidays, StaticHolidays, ThaiCalendarH
228
228
 
229
229
  # Cambodian Lunar Calendar Holidays
230
230
  # See `_ThaiLunisolar` in holidays/utils.py for more details.
231
- # Cambodian Lunar Calendar Holidays only work from 1941 to 2057.
231
+ # Cambodian Lunar Calendar Holidays only work from 1941 to 2157.
232
232
 
233
233
  # ពិធីបុណ្យមាឃបូជា
234
234
  # Status: Defunct.
@@ -51,7 +51,7 @@ class Djibouti(HolidayBase, ChristianHolidays, IslamicHolidays, InternationalHol
51
51
  # Christmas Day.
52
52
  self._add_christmas_day(tr("Noël"))
53
53
 
54
- # Isra and Miraj.
54
+ # Isra' and Mi'raj.
55
55
  self._add_isra_and_miraj_day(tr("Al Isra et Al Mirague"))
56
56
 
57
57
  # Eid al-Fitr.
@@ -13,6 +13,7 @@
13
13
  from gettext import gettext as tr
14
14
 
15
15
  from holidays.calendars.gregorian import MAY, OCT
16
+ from holidays.constants import CATHOLIC, PUBLIC
16
17
  from holidays.groups import ChristianHolidays, InternationalHolidays, StaticHolidays
17
18
  from holidays.holiday_base import HolidayBase
18
19
 
@@ -54,13 +55,14 @@ class Germany(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolid
54
55
 
55
56
  country = "DE"
56
57
  default_language = "de"
57
- supported_languages = ("de", "en_US", "uk")
58
+ supported_categories = (CATHOLIC, PUBLIC)
59
+ supported_languages = ("de", "en_US", "th", "uk")
58
60
  subdivisions = (
61
+ # ISO 3166-2:DE
59
62
  "BB",
60
63
  "BE",
61
64
  "BW",
62
65
  "BY",
63
- "BYP",
64
66
  "HB",
65
67
  "HE",
66
68
  "HH",
@@ -74,6 +76,25 @@ class Germany(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolid
74
76
  "ST",
75
77
  "TH",
76
78
  )
79
+ subdivisions_aliases = {
80
+ "Brandenburg": "BB",
81
+ "Berlin": "BE",
82
+ "Baden-Württemberg": "BW",
83
+ "Bayern": "BY",
84
+ "Bremen": "HB",
85
+ "Hessen": "HE",
86
+ "Hamburg": "HH",
87
+ "Mecklenburg-Vorpommern": "MV",
88
+ "Niedersachsen": "NI",
89
+ "Nordrhein-Westfalen": "NW",
90
+ "Rheinland-Pfalz": "RP",
91
+ "Schleswig-Holstein": "SH",
92
+ "Saarland": "SL",
93
+ "Sachsen": "SN",
94
+ "Sachsen-Anhalt": "ST",
95
+ "Thüringen": "TH",
96
+ }
97
+ _deprecated_subdivisions = ("BYP",)
77
98
 
78
99
  def __init__(self, *args, **kwargs) -> None:
79
100
  ChristianHolidays.__init__(self)
@@ -117,6 +138,9 @@ class Germany(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolid
117
138
  # Second Day of Christmas.
118
139
  self._add_christmas_day_two(tr("Zweiter Weihnachtstag"))
119
140
 
141
+ if self.subdiv == "BYP":
142
+ self._populate_subdiv_by_public_holidays()
143
+
120
144
  def _populate_subdiv_bb_public_holidays(self):
121
145
  if self._year <= 1989:
122
146
  return None
@@ -161,20 +185,14 @@ class Germany(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolid
161
185
  self._add_epiphany_day(tr("Heilige Drei Könige"))
162
186
  self._add_corpus_christi_day(tr("Fronleichnam"))
163
187
 
164
- # Assumption Day.
165
- self._add_assumption_of_mary_day(tr("Mariä Himmelfahrt"))
166
-
167
188
  self._add_all_saints_day(tr("Allerheiligen"))
168
189
 
169
- def _populate_subdiv_byp_public_holidays(self):
170
- if self._year <= 1989:
190
+ def _populate_subdiv_by_catholic_holidays(self):
191
+ if self._year <= 1990:
171
192
  return None
172
193
 
173
- if self._year >= 1991:
174
- self._add_epiphany_day(tr("Heilige Drei Könige"))
175
- self._add_corpus_christi_day(tr("Fronleichnam"))
176
-
177
- self._add_all_saints_day(tr("Allerheiligen"))
194
+ # Assumption Day.
195
+ self._add_assumption_of_mary_day(tr("Mariä Himmelfahrt"))
178
196
 
179
197
  def _populate_subdiv_hb_public_holidays(self):
180
198
  if self._year <= 1989:
@@ -161,7 +161,7 @@ class Indonesia(
161
161
  # Prophet's Birthday.
162
162
  self._add_mawlid_day(tr("Maulid Nabi Muhammad"))
163
163
 
164
- # Isra and Miraj.
164
+ # Isra' and Mi'raj.
165
165
  self._add_isra_and_miraj_day(tr("Isra Mikraj Nabi Muhammad"))
166
166
 
167
167
  if 1953 <= self._year <= 1962:
@@ -90,7 +90,7 @@ class Iran(HolidayBase, IslamicHolidays, PersianCalendarHolidays):
90
90
  # Birthday of Ali.
91
91
  self._add_ali_birthday_day(tr("زادروز علی بن ابی‌طالب"))
92
92
 
93
- # Ascension of Muhammad.
93
+ # Isra' and Mi'raj.
94
94
  self._add_isra_and_miraj_day(tr("مبعث"))
95
95
 
96
96
  # Birthday of Mahdi.
@@ -32,7 +32,7 @@ class Jersey(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
32
32
  - https://www.jerseylaw.je/laws/superseded/Pages/2006/15.560.20.aspx # 1952 Revision
33
33
  - https://www.jerseylaw.je/laws/enacted/Pages/RO-3038.aspx # 1952 as enacted
34
34
  - https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%205331.aspx # Bank Holidays
35
- - https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%206795.aspx # May Day
35
+ - https://www.jerseylaw.je/laws/enacted/Pages/Jersey%20RO%206795.aspx # May Bank Holiday
36
36
  Checked with:
37
37
  - https://www.gov.je/Leisure/Events/WhatsOn/pages/bankholidaydates.aspx # From 2010 onwards
38
38
 
@@ -47,7 +47,7 @@ class Jersey(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
47
47
  """
48
48
 
49
49
  country = "JE"
50
- observed_label = "%s (observed)"
50
+ observed_label = "%s (substitute day)"
51
51
 
52
52
  def __init__(self, *args, **kwargs):
53
53
  ChristianHolidays.__init__(self)
@@ -82,13 +82,14 @@ class Jersey(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
82
82
  # Easter Monday
83
83
  self._add_easter_monday("Easter Monday")
84
84
 
85
- # May Day
85
+ # Early May Bank Holiday
86
86
  # This only starts in 1980 (instead of 1978) for Jersey.
87
87
  # The date is not moved in 2020 (unlike in the UK) as there's already VE Day Celebrations.
88
+ # In 2024 this was called "May Bank Holiday" instead.
88
89
 
89
- # May Day bank holiday (first Monday in May)
90
+ # Early May bank holiday (first Monday in May)
90
91
  if self._year >= 1980:
91
- name = "May Day"
92
+ name = "May Bank Holiday" if self._year == 2024 else "Early May Bank Holiday"
92
93
  if self._year == 1995:
93
94
  self._add_holiday_may_8(name)
94
95
  else:
@@ -117,11 +118,11 @@ class Jersey(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, Stat
117
118
  # Whit Monday.
118
119
  self._add_whit_monday("Whit Monday")
119
120
 
120
- # Late Summer Bank Holiday
121
+ # Summer Bank Holiday
121
122
  # Current Pattern started in 1970. Was previously first Monday of September for Jersey.
122
123
 
123
- # Late Summer bank holiday (last Monday in August)
124
- summer_bank_holiday = "Late Summer Bank Holiday"
124
+ # Summer bank holiday (last Monday in August)
125
+ summer_bank_holiday = "Summer Bank Holiday"
125
126
  if self._year >= 1970:
126
127
  self._add_holiday_last_mon_of_aug(summer_bank_holiday)
127
128
  else:
@@ -175,6 +176,7 @@ class JerseyStaticHolidays:
175
176
  - https://www.jerseylaw.je/laws/enacted/Pages/RO-050-2021.aspx
176
177
  - https://www.jerseylaw.je/laws/enacted/Pages/RO-108-2009.aspx
177
178
  - https://www.jerseylaw.je/laws/enacted/Pages/RO-3038.aspx
179
+ - https://www.jerseylaw.je/laws/enacted/Pages/RO-036-2024.aspx
178
180
  """
179
181
 
180
182
  # Mostly a direct copy of UnitedKingdomStaticHolidays.
@@ -195,29 +197,30 @@ class JerseyStaticHolidays:
195
197
  # Boxing Day
196
198
  boxing_day_in_lieu = "Boxing Day"
197
199
 
198
- # Elizabeth II's Royal Visit.
199
- elizabeth_2_royal_visit = "Elizabeth II's Royal Visit"
200
+ # The visit of Her Majesty Queen Elizabeth II.
201
+ elizabeth_2_royal_visit = "The visit of Her Majesty Queen Elizabeth II"
200
202
 
201
203
  special_public_holidays = {
202
204
  1957: (JUL, 26, elizabeth_2_royal_visit),
203
- 1977: (JUN, 7, "Silver Jubilee of Elizabeth II"),
205
+ 1977: (JUN, 7, "Queen's Silver Jubilee"),
204
206
  1978: (JUN, 27, elizabeth_2_royal_visit),
205
207
  1981: (JUL, 29, "Wedding of Charles and Diana"),
206
208
  1989: (MAY, 25, elizabeth_2_royal_visit),
207
209
  1999: (DEC, 31, "Millennium Celebrations"),
208
210
  2001: (JUL, 13, elizabeth_2_royal_visit),
209
- 2002: (JUN, 3, "Golden Jubilee of Elizabeth II"),
211
+ 2002: (JUN, 3, "Queen's Golden Jubilee"),
210
212
  # Specially held in 2010 on Sunday for the 65th Anniversary.
211
213
  2010: (MAY, 9, "Liberation Day"),
212
214
  2011: (APR, 29, "Wedding of William and Catherine"),
213
- 2012: (JUN, 5, "Diamond Jubilee of Elizabeth II"),
215
+ 2012: (JUN, 5, "Queen's Diamond Jubilee"),
214
216
  2020: (MAY, 8, "75th Anniversary of VE Day"),
215
- 2021: (SEP, 27, "250th Anniversary of the 1769 Corn Riots"),
217
+ 2021: (SEP, 27, "Corn Riots Anniversary"),
216
218
  2022: (
217
- (JUN, 3, "Platinum Jubilee of Elizabeth II"),
218
- (SEP, 19, "State Funeral of Queen Elizabeth II"),
219
+ (JUN, 3, "Queen's Platinum Jubilee"),
220
+ (SEP, 19, "Funeral of Her Majesty Queen Elizabeth II"),
219
221
  ),
220
- 2023: (MAY, 8, "Coronation of Charles III"),
222
+ 2023: (MAY, 8, "Coronation of His Majesty King Charles III"),
223
+ 2024: (JUL, 15, "The visit of His Majesty King Charles III and Queen Camilla"),
221
224
  }
222
225
  special_public_holidays_observed = {
223
226
  1976: (DEC, 28, boxing_day_in_lieu),
@@ -59,7 +59,7 @@ class Jordan(HolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolid
59
59
  # Prophet's Birthday.
60
60
  self._add_mawlid_day(tr("عيد المولد النبوي"))
61
61
 
62
- # Isra and Miraj.
62
+ # Isra' and Mi'raj.
63
63
  self._add_isra_and_miraj_day(tr("ليلة المعراج"))
64
64
 
65
65
  # Eid al-Fitr.
@@ -56,7 +56,7 @@ class Kuwait(HolidayBase, InternationalHolidays, IslamicHolidays):
56
56
  # Prophet's Birthday.
57
57
  self._add_mawlid_day(tr("عيد المولد النبوي"))
58
58
 
59
- # Isra and Miraj.
59
+ # Isra' and Mi'raj.
60
60
  self._add_isra_and_miraj_day(tr("ليلة المعراج"))
61
61
 
62
62
  # Eid al-Fitr.
@@ -51,8 +51,8 @@ class Laos(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiCalen
51
51
 
52
52
  - Laotian holidays only works from 1976 onwards, and are only 100% accurate from 2018 onwards.
53
53
 
54
- - Laotian Lunar Calendar Holidays only work from 1941 (B.E. 2485) onwards until 2057
55
- (B.E. 2601) as we only have Thai year-type data for cross-checking until then.
54
+ - Laotian Lunar Calendar Holidays only work from 1941 (B.E. 2485) onwards until 2157
55
+ (B.E. 2701) as we only have Thai year-type data for cross-checking until then.
56
56
 
57
57
 
58
58
  Country created by: `PPsyrius <https://github.com/PPsyrius>`__
@@ -177,7 +177,7 @@ class Laos(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiCalen
177
177
  # Unofficial, but observed by schools and most business holidays;
178
178
  # As such, no in lieu observance are in place for these holidays.
179
179
 
180
- # Laotian Lunar Calendar Holidays only work from 1941 to 2057.
180
+ # Laotian Lunar Calendar Holidays only work from 1941 to 2157.
181
181
  if self._year <= 1975:
182
182
  return None
183
183
 
@@ -625,6 +625,8 @@ class SouthKoreaStaticHolidays:
625
625
  2020: (AUG, 17, temporary_public_holiday),
626
626
  # Added to create a 6-day long holiday period.
627
627
  2023: (OCT, 2, temporary_public_holiday),
628
+ # 76th Anniversary of the Armed Forces of Korea.
629
+ 2024: (OCT, 1, armed_forces_day),
628
630
  }
629
631
  # Pre-2014 Alternate Holidays
630
632
  # https://namu.wiki/w/대체%20휴일%20제도#s-4.2.1
@@ -219,7 +219,7 @@ class Tanzania(
219
219
  # Maulidi.
220
220
  # Status: In-Use.
221
221
 
222
- # Maulid Day.
222
+ # Prophet's Birthday.
223
223
  self._add_mawlid_day(tr("Maulidi"))
224
224
 
225
225
  # Defunct Holidays.
@@ -115,7 +115,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
115
115
  Applied Automatically for Workday if on Weekends: 2001-Present
116
116
 
117
117
  Limitations:
118
- - This is only 100% accurate for 1997-2023; any future dates are up to the
118
+ - This is only 100% accurate for 1997-2024; any future dates are up to the
119
119
  Royal Thai Government Gazette which updates on a year-by-year basis.
120
120
 
121
121
  - Approx. date only goes as far back as 1941 (B.E. 2484) as the Thai
@@ -123,7 +123,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
123
123
  New Year Date (April 1st to January 1st).
124
124
 
125
125
  - Thai Lunar Calendar Holidays only work from 1941 (B.E. 2484) onwards
126
- until 2057 (B.E. 2600) as we only have Thai year-type data for
126
+ until 2157 (B.E. 2700) as we only have Thai year-type data for
127
127
  cross-checking until then.
128
128
 
129
129
  - Royal Ploughing Ceremony Day is date is announced on an annual basis
@@ -131,13 +131,13 @@ class TimorLeste(
131
131
  # Holy Friday.
132
132
  self._add_good_friday(tr("Sexta-Feira Santa"))
133
133
 
134
- # Idul Fitri.
134
+ # Eid al-Fitr.
135
135
  self._add_eid_al_fitr_day(tr("Idul Fitri"))
136
136
 
137
137
  # Corpus Christi.
138
138
  self._add_corpus_christi_day(tr("Festa do Corpo de Deus"))
139
139
 
140
- # Idul Adha.
140
+ # Eid al-Adha.
141
141
  self._add_eid_al_adha_day(tr("Idul Adha"))
142
142
 
143
143
  def _populate_workday_holidays(self):
@@ -40,6 +40,9 @@ class UnitedStates(ObservedHolidayBase, ChristianHolidays, InternationalHolidays
40
40
  - https://en.wikipedia.org/wiki/Indigenous_Peoples%27_Day_(United_States)
41
41
  - https://www.sos.ri.gov/divisions/civics-and-education/reference-desk/ri-state-holidays
42
42
  - https://web.archive.org/web/20080831103521/http://www.dpa.ca.gov/personnel-policies/holidays.htm
43
+
44
+ Frances Xavier Cabrini Day:
45
+ - https://leg.colorado.gov/sites/default/files/2020a_1031_signed.pdf
43
46
  """
44
47
 
45
48
  country = "US"
@@ -325,6 +328,10 @@ class UnitedStates(ObservedHolidayBase, ChristianHolidays, InternationalHolidays
325
328
  if self._year >= 2001:
326
329
  self._add_holiday_mar_31("Cesar Chavez Day")
327
330
 
331
+ # Frances Xavier Cabrini Day
332
+ if self._year >= 2020:
333
+ self._add_holiday_1st_mon_of_oct("Frances Xavier Cabrini Day")
334
+
328
335
  def _populate_subdiv_ct_public_holidays(self):
329
336
  # Lincoln's Birthday
330
337
  if self._year >= 1971:
holidays/holiday_base.py CHANGED
@@ -1025,9 +1025,6 @@ class HolidayBase(Dict[date, str]):
1025
1025
  :param name:
1026
1026
  The holiday's name to try to match.
1027
1027
 
1028
- :param default:
1029
- The default value to return if no match is found.
1030
-
1031
1028
  :return:
1032
1029
  A list of dates removed.
1033
1030
 
@@ -39,19 +39,19 @@ msgstr ""
39
39
  msgid "عيد العمال"
40
40
  msgstr ""
41
41
 
42
- #. Eid Al Fitr.
42
+ #. Eid al-Fitr.
43
43
  msgid "عيد الفطر"
44
44
  msgstr ""
45
45
 
46
- #. Eid Al Fitr Holiday.
46
+ #. Eid al-Fitr Holiday.
47
47
  msgid "عطلة عيد الفطر"
48
48
  msgstr ""
49
49
 
50
- #. Eid Al Adha.
50
+ #. Eid al-Adha.
51
51
  msgid "عيد الأضحى"
52
52
  msgstr ""
53
53
 
54
- #. Eid Al Adha Holiday.
54
+ #. Eid al-Adha Holiday.
55
55
  msgid "عطلة عيد الأضحى"
56
56
  msgstr ""
57
57
 
@@ -52,7 +52,7 @@ msgstr "عطلة عيد الاستقلال"
52
52
  msgid "Noël"
53
53
  msgstr "عيد الميلاد المجيد"
54
54
 
55
- #. Isra and Miraj.
55
+ #. Isra' and Mi'raj.
56
56
  msgid "Al Isra et Al Mirague"
57
57
  msgstr "الإسراء والمعراج"
58
58
 
@@ -34,7 +34,7 @@ msgstr ""
34
34
  msgid "رأس السنة الميلادية"
35
35
  msgstr ""
36
36
 
37
- #. Isra and Miraj.
37
+ #. Isra' and Mi'raj.
38
38
  msgid "ليلة المعراج"
39
39
  msgstr ""
40
40
 
@@ -34,7 +34,7 @@ msgstr ""
34
34
  msgid "رأس السنة الميلادية"
35
35
  msgstr ""
36
36
 
37
- #. Isra and Miraj.
37
+ #. Isra' and Mi'raj.
38
38
  msgid "ليلة المعراج"
39
39
  msgstr ""
40
40
 
Binary file
@@ -0,0 +1,177 @@
1
+ # holidays
2
+ # --------
3
+ # A fast, efficient Python library for generating country, province and state
4
+ # specific sets of holidays on the fly. It aims to make determining whether a
5
+ # specific date is a holiday as fast and flexible as possible.
6
+ #
7
+ # Authors: Vacanza Team and individual contributors (see AUTHORS file)
8
+ # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
+ # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
+ # Website: https://github.com/vacanza/python-holidays
11
+ # License: MIT (see LICENSE file)
12
+ #
13
+ # Australia holidays.
14
+ #
15
+ msgid ""
16
+ msgstr ""
17
+ "Project-Id-Version: Python Holidays 0.57\n"
18
+ "POT-Creation-Date: 2024-09-05 12:21+0700\n"
19
+ "PO-Revision-Date: 2024-09-05 12:28+0700\n"
20
+ "Last-Translator: PPsyrius <ppsyrius@ppsyrius.dev>\n"
21
+ "Language-Team: Python Holidays Localization Team\n"
22
+ "Language: en_AU\n"
23
+ "MIME-Version: 1.0\n"
24
+ "Content-Type: text/plain; charset=UTF-8\n"
25
+ "Content-Transfer-Encoding: 8bit\n"
26
+ "Generated-By: Lingva 5.0.3\n"
27
+ "X-Generator: Poedit 3.5\n"
28
+
29
+ #. %s (observed).
30
+ #, c-format
31
+ msgid "%s (observed)"
32
+ msgstr ""
33
+
34
+ #. King's Birthday.
35
+ msgid "King's Birthday"
36
+ msgstr ""
37
+
38
+ #. Queen's Birthday.
39
+ msgid "Queen's Birthday"
40
+ msgstr ""
41
+
42
+ #. Australia Day.
43
+ msgid "Australia Day"
44
+ msgstr ""
45
+
46
+ #. Anniversary Day.
47
+ msgid "Anniversary Day"
48
+ msgstr ""
49
+
50
+ #. Good Friday.
51
+ msgid "Good Friday"
52
+ msgstr ""
53
+
54
+ #. Easter Monday.
55
+ msgid "Easter Monday"
56
+ msgstr ""
57
+
58
+ #. New Year's Day.
59
+ msgid "New Year's Day"
60
+ msgstr ""
61
+
62
+ #. ANZAC Day.
63
+ msgid "ANZAC Day"
64
+ msgstr ""
65
+
66
+ #. Christmas Day.
67
+ msgid "Christmas Day"
68
+ msgstr ""
69
+
70
+ #. Boxing Day.
71
+ msgid "Boxing Day"
72
+ msgstr ""
73
+
74
+ #. Canberra Day.
75
+ msgid "Canberra Day"
76
+ msgstr ""
77
+
78
+ #. Easter Saturday.
79
+ msgid "Easter Saturday"
80
+ msgstr ""
81
+
82
+ #. Easter Sunday.
83
+ msgid "Easter Sunday"
84
+ msgstr ""
85
+
86
+ #. Reconciliation Day.
87
+ msgid "Reconciliation Day"
88
+ msgstr ""
89
+
90
+ #. Family & Community Day.
91
+ msgid "Family & Community Day"
92
+ msgstr ""
93
+
94
+ #. Labour Day.
95
+ msgid "Labour Day"
96
+ msgstr ""
97
+
98
+ #. Bank Holiday.
99
+ msgid "Bank Holiday"
100
+ msgstr ""
101
+
102
+ #. May Day.
103
+ msgid "May Day"
104
+ msgstr ""
105
+
106
+ #. Picnic Day.
107
+ msgid "Picnic Day"
108
+ msgstr ""
109
+
110
+ #. %s (from 7pm).
111
+ #, c-format
112
+ msgid "%s (from 7pm)"
113
+ msgstr ""
114
+
115
+ #. Christmas Eve.
116
+ msgid "Christmas Eve"
117
+ msgstr ""
118
+
119
+ #. New Year's Eve.
120
+ msgid "New Year's Eve"
121
+ msgstr ""
122
+
123
+ #. The Royal Queensland Show.
124
+ msgid "The Royal Queensland Show"
125
+ msgstr ""
126
+
127
+ #. Adelaide Cup Day.
128
+ msgid "Adelaide Cup Day"
129
+ msgstr ""
130
+
131
+ #. Proclamation Day.
132
+ msgid "Proclamation Day"
133
+ msgstr ""
134
+
135
+ #. Eight Hours Day.
136
+ msgid "Eight Hours Day"
137
+ msgstr ""
138
+
139
+ #. Easter Tuesday.
140
+ msgid "Easter Tuesday"
141
+ msgstr ""
142
+
143
+ #. Grand Final Day.
144
+ msgid "Grand Final Day"
145
+ msgstr ""
146
+
147
+ #. Melbourne Cup Day.
148
+ msgid "Melbourne Cup Day"
149
+ msgstr ""
150
+
151
+ #. Western Australia Day.
152
+ msgid "Western Australia Day"
153
+ msgstr ""
154
+
155
+ #. Foundation Day.
156
+ msgid "Foundation Day"
157
+ msgstr ""
158
+
159
+ #. Special public holiday.
160
+ msgid "Special public holiday"
161
+ msgstr ""
162
+
163
+ #. National Day of Mourning for Queen Elizabeth II.
164
+ msgid "National Day of Mourning for Queen Elizabeth II"
165
+ msgstr ""
166
+
167
+ #. Declared public holiday.
168
+ msgid "Declared public holiday"
169
+ msgstr ""
170
+
171
+ #. Additional public holiday.
172
+ msgid "Additional public holiday"
173
+ msgstr ""
174
+
175
+ #. Queen's Diamond Jubilee.
176
+ msgid "Queen's Diamond Jubilee"
177
+ msgstr ""
Binary file