anufrievroman / calcure

Modern TUI calendar and task manager with minimal and customizable UI.
https://anufrievroman.gitbook.io/calcure
MIT License
1.51k stars 43 forks source link

Add support for country subdivisions. #105

Closed wolterhv closed 1 month ago

wolterhv commented 1 month ago

This is a PR to implement quick and dirty support for country subdivisions. I've tested this for England (UK) and France, by setting holiday_country in my config.ini file to UnitedKingdom:England,France. As a result, I can see both holidays for England (UK) and for France.

Feel free to make suggestions to better fit this code to the repository style and best practice. I acknowledge my solution is quick and dirty.

anufrievroman commented 1 month ago

Hi, thank you for the contribution! That looks pretty good.

wolterhv commented 1 month ago

Thanks for merging!