-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
add yasumi creation by ISO3166-2 code #61
Labels
Milestone
Comments
Very nice! Some others have asked a similar feature as currently you need to know the exact name of the Holiday provider. Would you be able to create a PR? |
Closing issue. Resolved by PR #62 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to get holidays based on dynamically gathered region informations. The ISO3166-2 codes I can get out of various map-api.
As far as I can see the
const ID
inside the providers corresponce to ISO3166-2 and is used as index for thegetProviders()
return array.Therefore I made a simple wrapper. There aren't any test for this wrapper implemented and I only "tested" it against my usage. (Germany and Subdivisions of Germany).
So this is kind of a "Feature Request" / "Pull Request" mix :)
The text was updated successfully, but these errors were encountered: