Closed liepumartins closed 4 years ago
Indeed, it sounds like the region fallback is actually proceeded after the with
inclusion. It would need to change the steps order to store the custom holidays after the region is changed from us-US to us-national. This sounds feasible.
It has been fixed in the kylekatarnls/business-day dependency, you can upgrade to get it working with us-US
region or similar.
I bumped into strange behaviour and began to believe that
holidays.with
key was being ignored. Turns out, ifregion
contains existing first part ('us-'), but second part is incorrect ("US"),with
holidays are lost. However is one specifies completely non-existingregion
("xx-xx"), custom holidays are added.