← Back to context

Comment by zachd

1 year ago

Ah shame, I totally depend on the well maintained npm package date-holidays. But I guess it could use a PR! https://github.com/commenthol/date-holidays/blob/master/data...

I have a similar home-cooked tool at https://semestra.limbe.ro but ended up using Nager.Date instead, and it has better coverage for Sweden at least: https://date.nager.at/Api I liked the online-first approach since it means you get new or moved holidays without a package bump. The downside is of course if you want an offline-first approach.