Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about adding new countries. #93

Open
ryan-cal opened this issue Feb 9, 2019 · 6 comments
Open

Question about adding new countries. #93

ryan-cal opened this issue Feb 9, 2019 · 6 comments

Comments

@ryan-cal
Copy link

ryan-cal commented Feb 9, 2019

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

@hakan42
Copy link
Contributor

hakan42 commented Feb 10, 2019

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
Copy link
Contributor

hakan42 commented Feb 10, 2019

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

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

@svendiedrichsen
Copy link
Owner

svendiedrichsen commented Feb 11, 2019

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

@svendiedrichsen
Copy link
Owner

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

@hakan42
Copy link
Contributor

hakan42 commented Feb 12, 2019

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

Just did so, #94

@svendiedrichsen
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants