vacanza/holidays

Mississippi Holiday - Confederate Memorial Day - Calculation incorrect

Closed this issue · 2 comments

Library version: holidays 0.47

The date for Confederate Memorial Day this year is 2024-04-29.
The python-holidays library calculated it to be today, 2024-04-22.

https://www.sos.ms.gov/communications-publications/state-holidays
https://law.justia.com/codes/mississippi/2020/title-3/chapter-3/section-3-3-7/
the last Monday of April (Confederate Memorial Day);

import holidays
#days = holidays.USA(years=[2024], subdiv='MS')
days = holidays.country_holidays('USA', subdiv='MS', years=[2024])
print(days)

Output:

{datetime.date(2024, 1, 1): "New Year's Day", datetime.date(2024, 5, 27): 'Memorial Day', datetime.date(2024, 6, 19): 'Juneteenth National Independence Day', datetime.date(2024, 7, 4): 'Independence Day', datetime.date(2024, 9, 2): 'Labor Day', datetime.date(2024, 11, 11): 'Veterans Day', datetime.date(2024, 11, 28): 'Thanksgiving', datetime.date(2024, 12, 25): 'Christmas Day', datetime.date(2024, 2, 19): "Washington's Birthday", datetime.date(2024, 1, 15): "Dr. Martin Luther King Jr. and Robert E. Lee's Birthdays", datetime.date(2024, 4, 22): 'Confederate Memorial Day'}

@gitoffme, thank you for raising this issue! This will be fixed in the next release (in early May).

Appreciate the library, thank you for the work!