vacanza/holidays

Documentation for holidays.US(years=array_of_years) ?

Closed this issue · 1 comments

I was looking in the docs for how to get the dates of the holidays in a given year. I did not find it. Fortunately chatGPT knew where it was and provided this code, which works:

us_holidays = holidays.US(years=array_of_years)

Suggestion: make this more discoverable in the docs.

@VikR0001 thanks for the suggestion. I think it's worth making the single/multiple year example more prominent. I'll make sure this is added to our existing examples page (btw, some of them include years parameter).