Closed mrgum closed 2 months ago
Summer Bank Holiday is relevant only to England, Wales and Northern Ireland, not whole UK. So if we want to see it, need to specify subdivision, e.g.
import holidays
uk_eng_holidays = holidays.GB(subdiv="ENG") # or "WLS" or "NIR"
if "2024-08-26" in uk_eng_holidays:
print("enjoy the day off work")
Closing this. @mrgum feel free to re-open if you need more help with this.
Thank you!
Bug Report
Expected Behavior
2024-08-26 should be a holiday in GB
Actual Behavior
holidays does not treat it as a holiday
Steps to Reproduce the Problem
should print but does not
Environment
Additional Context
https://www.gov.uk/bank-holidays