Closed satheashwin closed 1 month ago
I am trying to execute the below code
for i in holidays.UK(years=2024).items(): print(i)
and I am getting only 6 holidays (datetime.date(2024, 1, 1), "New Year's Day") (datetime.date(2024, 12, 25), 'Christmas Day') (datetime.date(2024, 12, 26), 'Boxing Day') (datetime.date(2024, 3, 29), 'Good Friday') (datetime.date(2024, 5, 6), 'May Day') (datetime.date(2024, 5, 27), 'Spring Bank Holiday')
Its not returning Easter Monday or Summer Bank holidays
I think I need to use holidays.UK(years=2024, subdiv="ENG")
Closing the issue as it works with the above
I am trying to execute the below code
Print all the holidays in UnitedKingdom in year
for i in holidays.UK(years=2024).items(): print(i)
and I am getting only 6 holidays (datetime.date(2024, 1, 1), "New Year's Day") (datetime.date(2024, 12, 25), 'Christmas Day') (datetime.date(2024, 12, 26), 'Boxing Day') (datetime.date(2024, 3, 29), 'Good Friday') (datetime.date(2024, 5, 6), 'May Day') (datetime.date(2024, 5, 27), 'Spring Bank Holiday')
Its not returning Easter Monday or Summer Bank holidays