jollyday icon indicating copy to clipboard operation
jollyday copied to clipboard

Question about adding new countries.

Open ryan-cal opened this issue 5 years ago • 6 comments

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

ryan-cal avatar Feb 09 '19 15:02 ryan-cal

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

hakan42 avatar Feb 10 '19 11:02 hakan42

Also, this reminds me, I alway wanted to add public holidays in Turkey to this list :)

https://calendarific.com/holidays/2019/TR

hakan42 avatar Feb 10 '19 11:02 hakan42

@ryan-cal Please setup a pull request. We can work it out together then. You will find plenty of examples in the code.

svendiedrichsen avatar Feb 11 '19 20:02 svendiedrichsen

@hakan42 Please feel free to file a pull request too.

svendiedrichsen avatar Feb 11 '19 20:02 svendiedrichsen

@hakan42 Please feel free to file a pull request too.

Just did so, https://github.com/svendiedrichsen/jollyday/pull/94

hakan42 avatar Feb 12 '19 19:02 hakan42

@ryan-cal Pull request #94 is a good example on how to add a country.

svendiedrichsen avatar Feb 14 '19 11:02 svendiedrichsen