jollyday
jollyday copied to clipboard
Question about adding new countries.
There are a few countries I would like to contribute to this library. What is the process around that?
Ref: https://calendarific.com/holidays/2019/EG https://calendarific.com/holidays/2019/FJ https://calendarific.com/holidays/2019/MF
Hi,
you fork this repository, create a file similar to the ones in src/main/resources/holidays/, . for example https://github.com/svendiedrichsen/jollyday/blob/master/src/main/resources/holidays/Holidays_in.xml for India, and create a pull request to add it to the repository.
If you are not comfortable with git and branches and pull requests and so on, you can just write the XML file, attach it to the ticket here and someone (perhaps even me :) ) will help you getting it into the main distribution.
Regards, Hakan
Also, this reminds me, I alway wanted to add public holidays in Turkey to this list :)
https://calendarific.com/holidays/2019/TR
@ryan-cal Please setup a pull request. We can work it out together then. You will find plenty of examples in the code.
@hakan42 Please feel free to file a pull request too.
@hakan42 Please feel free to file a pull request too.
Just did so, https://github.com/svendiedrichsen/jollyday/pull/94
@ryan-cal Pull request #94 is a good example on how to add a country.