Closed stefanvanherwijnen closed 4 years ago
@commenthol Any thoughts on this?
@stefanvanherwijnen Thanks for your PR. Let's try to progress here. I need to combine the things with the data-set at date-holidays mainly for the tests.
Thanks, let me know if I need to add anything to this PR.
@stefanvanherwijnen date-holidays was published in v1.6.0 with your requested changes. Thanks and have fun with it.
This changes getHolidays such that the rule is returned alongside the date and name.
Use case: I need to make a translatable selection input of holidays. The rule is the only constant when years and language vary. This seemed to be the easiest fix.