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

Custom holidays.json build - how to use? #268

Closed
centi opened this issue Jul 16, 2021 · 1 comment
Closed

Custom holidays.json build - how to use? #268

centi opened this issue Jul 16, 2021 · 1 comment

Comments

@centi
Copy link

centi commented Jul 16, 2021

Hi, I need to use a custom build of holidays.json (to reduce its size), but the documentation only describes how to create this build, but it doesn't show how to use it.

In our project, we use date-holidays as a NPM dependency. Is there a way to "inject" the custom JSON? I've read the API documentation as well, but I see no way, how to pass the JSON.

Can you please add information about how to use the custom JSON or direct me to a existing documentation with this information?

@commenthol
Copy link
Owner

Please consider documentation and take a look at date-holidays-parser if you want to use your custom lists.
Please consider contributing changes which fix, update or add new holidays for the benefit of all using this lib.

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

2 participants