date-holidays-parser
date-holidays-parser copied to clipboard
parser for worldwide holidays
The library is not usable with Typescript at the moment. Include ```ts "exports": { // ... "types": "./types" } ``` in the `package.json`, since right now the types are not...
Hello, I want to ignore a holiday by using `unsetRule`. The holiday does not appear in the list returned by getHolidays however when checking for that date using isHoliday I...
Moment is now considered a legacy project: https://www.npmjs.com/package/moment There have been multiple PR's already: https://github.com/commenthol/date-holidays-parser/pull/53 https://github.com/commenthol/date-holidays-parser/pull/48 https://github.com/commenthol/date-holidays-parser/pull/2 It would be nice if @commenthol could clarify which newer library should best...
I wanted to move the library away from` moment` and moment based tools in order to decrease bundle size. There are likely _significant_ improvements in processing speed as well. All...
can I please check in order to understand this library - it contains a test with the code: ```javascript it('02-06 and if saturday then previous friday if sunday then next...
Hi, I might be missing something. Jan 1st, 2022 is Saturday. The rule is `"01-01 and if saturday,sunday then next monday"` so the holiday is actually on Jan 3rd. However,...
As of v3.3.0, the import destination for `astronomia` in `vsop87Bearth.cjs` seems to have changed. v3.2.4 https://unpkg.com/[email protected]/lib/vsop87Bearth.cjs > ```js > var _vsop87Bearth = require('astronomia/lib/data/vsop87Bearth.cjs'); > ``` v3.3.0 https://unpkg.com/[email protected]/lib/vsop87Bearth.cjs > ```js >...
Hi, Just FYI we noticed that version 3.4.5 is not fully backward compatible with 3.4.4 as in our project we are still using ecmascript2015 which does not support optional chaining...
Closes #57 Similar to https://github.com/commenthol/date-holidays/pull/546 This PR migrates type test to TSTyche and enables type test runs in CI.