Detalhes do pacote

date-holidays

commenthol787.5k(ISC AND CC-BY-3.0)3.24.2

worldwide holidays

holidays, world

readme (leia-me)

date-holidays

world-wide holidays in gregorian calender

NPM version Build Status

This module provides dates of holidays for various countries, states and regions by type while considering the applicable timezone.

The features are:

  • calculation of public, bank and observance holidays for different countries, state, region, following ISO 3166-2
  • consideration of timezones for holiday checks
  • consideration of start and end time dependent on timezone
  • substitute days
  • multi-language support for all holiday names
  • setting of custom holidays
  • uses own grammar for calculation of days
  • support for islamic calendar from 1970 to 2080 (islamic dates might not be correct as they are subject to the sighting of the moon)
  • support for hebrew calendar from 1970 to 2100
  • support for chinese calendar
  • for generation of iCal calendar check out date-holidays-ical

Happy holidays!

Table of Contents

Supported Countries, States, Regions

If you are missing holidays from your country, state, region please consider contributing.

Countries: 198
├── AD: Andorra
│   └── 07: Andorra la Vella
├── AE: دولة الإمارات العربية المتحدة
├── AG: Antigua & Barbuda
│   └── 10: Barbuda
├── AI: Anguilla
├── AL: Shqipëri
├── AM: Հայաստան
├── AO: Angola
├── AR: Argentina
├── AS: American Samoa
├── AT: Österreich
│   ├── 1: Burgenland
│   ├── 2: Kärnten
│   ├── 3: Niederösterreich
│   ├── 4: Oberösterreich
│   ├── 5: Land Salzburg
│   ├── 6: Steiermark
│   ├── 7: Tirol
│   ├── 8: Vorarlberg
│   └── 9: Wien
├── AU: Australia
│   ├── ACT: Australian Capital Territory
│   ├── NSW: New South Wales
│   ├── NT: Northern Territory
│   ├── QLD: Queensland
│   ├── SA: South Australia
│   ├── TAS: Tasmania
│   ├── VIC: Victoria
│   └── WA: Western Australia
├── AW: Aruba
├── AX: Landskapet Åland
├── AZ: Azərbaycan Respublikası
├── BA: Bosna i Hercegovina
│   ├── BIH: Federation of Bosnia and Herzegovina
│   │   └── W: Western Herzegovina
│   ├── BRC: Brčko District
│   └── SRP: Republika Srpska
├── BB: Barbados
├── BD: গণপ্রজাতন্ত্রী বাংলাদেশ
├── BE: Belgique
│   ├── BRU: Bruxelles
│   ├── DE: Deutschsprachige Gemeinschaft
│   ├── VLG: Vlaamse Gemeenschap
│   └── WAL: Communauté française
├── BF: Burkina Faso
├── BG: България
├── BH: مملكة البحرين
├── BI: République du Burundi
├── BJ: République du Bénin
├── BL: St. Barthélemy
├── BM: Bermuda
├── BN: Negara Brunei Darussalam
├── BO: Bolivia
│   ├── B: Beni
│   ├── C: Cochabamba
│   ├── H: Chuquisaca
│   ├── L: La Paz
│   ├── N: Pando
│   ├── O: Oruro
│   ├── P: Potosí
│   ├── S: Santa Cruz
│   └── T: Tarija
├── BQ: Caribisch Nederland
│   ├── BO: Bonaire
│   ├── SA: Saba
│   └── SE: Sint Eustatius
├── BR: Brasil
│   ├── AC: Acre
│   ├── AL: Alagoas
│   ├── AM: Amazonas
│   ├── AP: Amapá
│   ├── BA: Bahia
│   ├── CE: Ceará
│   ├── DF: Distrito Federal
│   ├── MA: Maranhão
│   ├── MG: Minas Gerais
│   │   └── BH: Belo Horizonte
│   ├── MS: Mato Grosso do Sul
│   ├── MT: Mato Grosso
│   ├── PA: Pará
│   ├── PB: Paraíba
│   ├── PE: Pernambuco
│   │   └── RE: Recife
│   ├── PI: Piauí
│   ├── PR: Paraná
│   │   └── CU: Curitiba
│   ├── RJ: Rio de Janeiro
│   │   └── RJ: Rio de Janeiro
│   ├── RN: Rio Grande do Norte
│   ├── RO: Rondônia
│   ├── RR: Roraima
│   ├── RS: Rio Grande do Sul
│   ├── SC: Santa Catarina
│   ├── SE: Sergipe
│   ├── SP: São Paulo
│   │   └── SP: São Paulo
│   └── TO: Tocantins
├── BS: Bahamas
├── BW: Botswana
├── BY: Рэспубліка Беларусь
├── BZ: Belize
├── CA: Canada
│   ├── AB: Alberta
│   ├── BC: British Columbia
│   ├── MB: Manitoba
│   ├── NB: New Brunswick
│   ├── NL: Newfoundland and Labrador
│   ├── NS: Nova Scotia
│   ├── NT: Northwest Territories
│   ├── NU: Nunavut
│   ├── ON: Ontario
│   ├── PE: Prince Edward Island
│   ├── QC: Quebec
│   ├── SK: Saskatchewan
│   └── YT: Yukon
├── CC: Cocos (Keeling) Islands
├── CD: République démocratique du Congo
├── CF: République centrafricaine
├── CG: République du Congo
├── CH: Schweiz
│   ├── ZH: Kanton Zürich
│   ├── BE: Kanton Bern
│   ├── LU: Kanton Luzern
│   ├── UR: Kanton Uri
│   ├── SZ: Kanton Schwyz
│   ├── OW: Kanton Obwalden
│   ├── NW: Kanton Nidwalden
│   ├── GL: Kanton Glarus
│   ├── ZG: Kanton Zug
│   ├── FR: Canton de Fribourg
│   ├── SO: Kanton Solothurn
│   ├── BS: Kanton Basel-Stadt
│   ├── BL: Kanton Basel-Landschaft
│   ├── SH: Kanton Schaffhausen
│   ├── AR: Kanton Appenzell Ausserrhoden
│   ├── AI: Kanton Appenzell Innerrhoden
│   ├── SG: Kanton St. Gallen
│   ├── GR: Kanton Graubünden
│   ├── AG: Kanton Aargau
│   ├── TG: Kanton Thurgau
│   ├── TI: Canton Ticino
│   ├── VD: Canton de Vaud
│   ├── VS: Canton du Valais
│   ├── NE: Canton de Neuchâtel
│   ├── GE: Canton de Genève
│   └── JU: Canton du Jura
├── CI: République de Côte d'Ivoire
├── CK: Cook Islands
│   ├── Aitutaki: Aitutaki
│   ├── Atiu: Atiu
│   ├── Mangaia: Mangaia
│   ├── Manihiki: Manihiki
│   ├── Mitiaro: Mitiaro
│   ├── Palmerston: Palmerston
│   ├── Penrhyn: Penrhyn
│   ├── Pukapuka: Pukapuka
│   ├── Rakahanga: Rakahanga
│   └── Rarotonga: Rarotonga
├── CL: Chile
│   ├── AP: Arica y Parinacota
│   ├── BI: Biobío
│   │   └── CH: Chillán y Chillán Viejo
│   ├── NU: Ñuble
│   │   └── CH: Chillán y Chillán Viejo
│   └── TA: Tarapacá
├── CM: Cameroun
├── CN: 中华人民共和国
├── CO: Colombia
├── CR: Costa Rica
├── CU: Cuba
├── CV: República de Cabo Verde
│   └── S: Sotavento Islands
│       └── PR: Praia
├── CW: Curaçao
├── CX: Christmas Island
├── CY: Κύπρος
├── CZ: Česká republika
├── DE: Deutschland
│   ├── BB: Brandenburg
│   ├── BE: Berlin
│   ├── BW: Baden-Württemberg
│   ├── BY: Bayern
│   │   ├── A: Stadt Augsburg
│   │   └── EVANG: Überwiegend evangelische Gemeinden
│   ├── HB: Hansestadt Bremen
│   ├── HE: Hessen
│   ├── HH: Hansestadt Hamburg
│   ├── MV: Mecklenburg Vorpommern
│   ├── NI: Niedersachsen
│   ├── NW: Nordrhein-Westfalen
│   ├── RP: Rheinland-Pfalz
│   ├── SH: Schleswig-Holstein
│   ├── SL: Saarland
│   ├── SN: Sachsen
│   │   └── BZ: Landkreis Bautzen
│   ├── ST: Sachsen-Anhalt
│   └── TH: Thüringen
│       ├── EIC: Landkreis Eichfeld
│       ├── UH: Unstrut-Hainich-Kreis
│       └── WAK: Wartburgkreis
├── DJ: République de Djibouti
├── DK: Danmark
├── DM: Dominica
├── DO: República Dominicana
├── DZ: الجمهورية الجزائرية الديمقراطية الشعبية
├── EC: Ecuador
│   └── P: Pichincha
│       └── QU: Quito
├── EE: Eesti
├── EG: جمهورية مصر العربية
├── EH: الجمهورية العربية الصحراوية الديمقراطية
├── ER: Eritrea
├── ES: España
│   ├── AN: Andalucía
│   ├── AR: Aragón
│   ├── AS: Asturias
│   ├── CB: Cantabria
│   ├── CE: Ciudad de Ceuta
│   ├── CL: Castilla y León
│   ├── CM: Castile-La Mancha
│   ├── CN: Islas Canarias
│   │   ├── EH: El Hierro
│   │   ├── FU: Fuerteventura
│   │   ├── GC: Gran Canaria
│   │   ├── LG: La Gomera
│   │   ├── LP: La Palma
│   │   ├── LA: Lanzarote
│   │   └── TE: Tenerife
│   ├── CT: Cataluña
│   ├── EX: Extremadura
│   ├── GA: Galicia
│   ├── IB: Illes Balears
│   ├── MC: Murcia Region
│   ├── MD: Comunidad de Madrid
│   ├── ML: Ciudad de Melilla
│   ├── NC: Comunidad Foral de Navarra
│   ├── PV: País Vasco
│   ├── RI: La Rioja
│   └── VC: Comunitat Valenciana
├── ET: ኢትዮጵያ
├── FI: Suomi
├── FJ: Matanitu Tugalala o Viti
├── FO: Føroyar
├── FR: France
│   ├── 57: Département Moselle
│   ├── 67: Département Bas-Rhin
│   ├── 68: Département Haut-Rhin
│   ├── YT: Département et région d'outre-mer Mayotte
│   ├── MQ: Département et région d'outre-mer Martinique
│   ├── GP: Département et région d'outre-mer Guadeloupe
│   ├── GF: Département et région d'outre-mer Guyane
│   ├── RE: Département et région d'outre-mer La Réunion
│   ├── MF: Département et région d'outre-mer Saint Martin
│   └── BL: Département et région d'outre-mer Saint Barthélemy
├── GA: Gabon
├── GB: United Kingdom
│   ├── ALD: Alderney
│   ├── ENG: England
│   ├── NIR: Northern Ireland
│   ├── SCT: Scotland
│   └── WLS: Wales
├── GD: Grenada
├── GE: საქართველო
├── GF: Guyane
├── GG: Guernsey
├── GH: Ghana
├── GI: Gibraltar
├── GL: Kalaallit Nunaat
├── GM: The Gambia
├── GN: Guinée
├── GP: Guadeloupe
├── GQ: República de Guinea Ecuatorial
├── GR: Ελλάδα
├── GT: Guatemala
├── GU: Guam
├── GW: Guiné-Bissau
├── GY: Guyana
├── HK: 香港
├── HN: Honduras
├── HR: Hrvatska
│   ├── 17: Split-Dalmatia
│   └── 19: Dubrovnik-Neretva
├── HT: Haïti
├── HU: Magyarország
├── IC: Islas Canarias
│   ├── EH: El Hierro
│   ├── FU: Fuerteventura
│   ├── GC: Gran Canaria
│   ├── LG: La Gomera
│   ├── LP: La Palma
│   ├── LA: Lanzarote
│   └── TE: Tenerife
├── ID: Indonesia
├── IE: Ireland
├── IL: מְדִינַת יִשְׂרָאֵל
├── IM: Isle of Man
├── IR: جمهوری اسلامی ایران
├── IS: Ísland
├── IT: Italia
│   ├── 25: Lombardy
│   │   └── MI: Milan
│   ├── 32: Alto Adige
│   ├── 52: Toscana
│   │   └── FI: Firenze
│   └── 62: Lazio
│       └── RM: Roma
├── JE: Jersey
├── JM: Jamaica
├── JP: 日本
├── KE: Kenya
├── KM: Union des Comores
├── KN: St. Kitts & Nevis
├── KR: 대한민국
├── KY: Cayman Islands
├── LC: St. Lucia
├── LI: Liechtenstein
├── LR: Liberia
├── LS: \'Muso oa Lesotho
├── LT: Lietuva
├── LU: Luxembourg
├── LV: Latvija
├── LY: دولة ليبيا
├── MA: المملكة المغربية
├── MC: Monaco
├── MD: Republica Moldova
│   ├── CA: Cahul
│   └── CU: Chișinău
├── ME: Crna Gora
├── MF: Saint Martin
├── MG: Repoblikan'i Madagasikara
├── MK: Република Македонија
├── ML: République du Mali
├── MQ: Martinique
├── MR: الجمهورية الإسلامية الموريتانية
├── MS: Montserrat
├── MT: Malta
├── MW: Malawi
├── MX: México
├── MY: Malaysia
│   ├── 10: Selangor
│   ├── 11: Terengganu
│   ├── 12: Sabah
│   ├── 13: Sarawak
│   ├── 14: Kuala Lumpur
│   ├── 15: Labuan
│   ├── 16: Putrajaya
│   ├── 01: Johor
│   ├── 02: Kedah
│   ├── 03: Kelantan
│   ├── 04: Malacca
│   ├── 05: Negeri Sembilan
│   ├── 06: Pahang
│   ├── 07: Penang
│   ├── 08: Perak
│   └── 09: Perlis
├── MZ: Moçambique
├── NA: Namibia
├── NC: Nouvelle-Calédonie
├── NE: République du Niger
├── NG: Nigeria
├── NI: Nicaragua
├── NL: Nederland
│   ├── GR: Groningen
│   │   └── GRN: Groningen
│   ├── NH: Noord-Holland
│   │   └── ALK: Alkmaar
│   └── ZH: Zuid-Holland
│       ├── BRL: Brielle
│       └── LDN: Leiden
├── NO: Norge
├── NZ: New Zealand
│   ├── AUK: Auckland Province
│   ├── BOP: Bay of Plenty
│   ├── CAN: Canterbury
│   │   └── Timaru: Timaru District
│   ├── CIT: Chatham Islands
│   ├── GIS: Gisborne
│   ├── HKB: Hawke's Bay
│   ├── MBH: Marlborough
│   ├── MWT: Manawatu-Wanganui
│   ├── NSN: Nelson
│   ├── NTL: Northland
│   ├── OTA: Otago Province
│   ├── STL: Southland
│   ├── TAS: Tasman
│   ├── TKI: Taranaki
│   ├── WKO: Waikato
│   ├── WGN: Wellington Province
│   └── WTC: Westland
│       └── Buller: Buller district
├── PA: Panamá
├── PE: Perú
│   └── CUS: Cuzco
├── PH: Philippines
├── PL: Polska
├── PM: St. Pierre & Miquelon
├── PR: Puerto Rico
├── PT: Portugal
├── PY: Paraguay
├── RE: Réunion
├── RO: Romania
├── RS: Република Србија
├── RU: Россия
├── RW: Rwanda
├── SA: المملكة العربية السعودية
├── SC: Seychelles
├── SD: جمهورية السودان
├── SE: Sverige
├── SG: Singapore
├── SH: St. Helena
│   ├── AC: Ascension Island
│   ├── HL: Saint Helena
│   └── TA: Tristan da Cunha
├── SI: Republika Slovenija
├── SJ: Svalbard & Jan Mayen
├── SK: Slovenská republika
├── SL: Sierra Leone
├── SM: San Marino
├── SN: République du Sénégal
├── SO: Jamhuuriyadda Federaalka Soomaaliya
│   ├── AW: Awdal
│   ├── SA: Sanaag
│   ├── SO: Sool
│   ├── TO: Togdheer
│   └── WO: Woqooyi Galbeed
├── SR: Suriname
├── SS: South Sudan
├── ST: São Tomé & Príncipe
├── SV: El Salvador
│   └── SS: San Salvador
├── SX: Sint Maarten
├── SZ: Eswatini
├── TC: Turks & Caicos Islands
├── TD: جمهورية تشاد
├── TG: République togolaise
├── TH: Thailand
├── TN: الجمهورية التونسية
├── TO: Puleʻanga Fakatuʻi ʻo Tonga
├── TR: Türkiye
├── TT: Trinidad & Tobago
├── TW: 中華民國
├── TZ: Tanzania
├── UA: Україна
├── UG: Uganda
├── US: United States of America
│   ├── AL: Alabama
│   ├── AK: Alaska
│   ├── AZ: Arizona
│   ├── AR: Arkansas
│   ├── CA: California
│   │   └── LA: Los Angeles
│   ├── CO: Colorado
│   ├── CT: Connecticut
│   ├── DE: Delaware
│   ├── DC: District of Columbia
│   ├── FL: Florida
│   ├── GA: Georgia
│   ├── HI: Hawaii
│   ├── ID: Idaho
│   ├── IL: Illinois
│   ├── IN: Indiana
│   ├── IA: Iowa
│   ├── KS: Kansas
│   ├── KY: Kentucky
│   ├── LA: Louisiana
│   │   └── NO: New Orleans
│   ├── ME: Maine
│   ├── MD: Maryland
│   ├── MA: Massachusetts
│   ├── MI: Michigan
│   ├── MN: Minnesota
│   ├── MS: Mississippi
│   ├── MO: Missouri
│   ├── MT: Montana
│   ├── NE: Nebraska
│   ├── NV: Nevada
│   ├── NH: New Hampshire
│   ├── NJ: New Jersey
│   ├── NM: New Mexico
│   ├── NY: New York
│   ├── NC: North Carolina
│   ├── ND: North Dakota
│   ├── OH: Ohio
│   ├── OK: Oklahoma
│   ├── OR: Oregon
│   ├── PA: Pennsylvania
│   ├── RI: Rhode Island
│   ├── SC: South Carolina
│   ├── SD: South Dakota
│   ├── TN: Tennessee
│   ├── TX: Texas
│   ├── UT: Utah
│   ├── VT: Vermont
│   ├── VA: Virginia
│   ├── WA: Washington
│   ├── WV: West Virginia
│   ├── WI: Wisconsin
│   └── WY: Wyoming
├── UY: Uruguay
├── VA: Stato della Città del Vaticano
├── VC: St. Vincent & Grenadines
├── VE: Venezuela
│   ├── B: Anzoátegui
│   ├── G: Carabobo
│   ├── K: Lara
│   │   └── BA: Barquisimeto
│   ├── M: Miranda
│   ├── N: Monagas
│   ├── S: Táchira
│   └── V: Zulia
├── VG: British Virgin Islands
├── VI: U.S. Virgin Islands
├── VN: Cộng hòa Xã hội chủ nghĩa Việt Nam
├── VU: République de Vanuatu
├── XK: Republika e Kosovës
├── YT: Mayotte
├── ZA: South Africa
├── ZM: Zambia
└── ZW: Zimbabwe

Usage

var Holidays = require('date-holidays')
var hd = new Holidays()

// get supported countries
hd.getCountries()
/*>
{ AD: 'Andorra',
  ...
  US: 'United States' }
*/

// get supported states e.g. for US
hd.getStates('US')
/*>
{ al: 'Alabama',
  ...
  wy: 'Wyoming' }
*/

// get supported regions e.g. for US, Lousiana
hd.getRegions('US', 'la')
/*>
{ no: 'New Orleans' }
*/

// initialize holidays for US, Lousiana, New Orleans
hd.init('US', 'la', 'no')
// or using a new instance
hd = new Holidays('US', 'la', 'no')

// get all holidays for the year 2016
hd.getHolidays(2016)
/*>
[ { date: '2016-01-01 00:00:00',
    start: Fri Jan 01 2016 00:00:00 GMT-0600 (CST),
    end: Sat Jan 02 2016 00:00:00 GMT-0600 (CST),
    name: 'New Year\'s Day',
    rule: '01-01 and if sunday then next monday if saturday then previous friday',
    type: 'public' },
  ...
  { date: '2016-11-24 00:00:00',
    start: Thu Nov 24 2016 00:00:00 GMT-0600 (CST),
    end: Fri Nov 25 2016 00:00:00 GMT-0600 (CST),
    name: 'Thanksgiving Day',
    rule: '4th thursday in November',
    type: 'public' },
  ...
  { date: '2016-12-26 00:00:00',
    start: Mon Dec 26 2016 00:00:00 GMT-0600 (CST),
    end: Tue Dec 27 2016 00:00:00 GMT-0600 (CST),
    substitute: true,
    name: 'Christmas Day (substitute day)',
    rule: '12-25 and if sunday then next monday if saturday then previous friday',
    type: 'public' } ]
*/

// check if date is a holiday while respecting timezones
hd.isHoliday(new Date('2016-02-09 00:00:00 GMT+0000'))
//> false
hd.isHoliday(new Date('2016-02-09 10:00:00 GMT-0600'))
/*>
[{ date: '2016-02-09 00:00:00',
  start: Tue Feb 09 2016 00:00:00 GMT-0600 (CST),
  end: Wed Feb 10 2016 00:00:00 GMT-0600 (CST),
  name: 'Mardi Gras',
  rule: 'easter -47',
  type: 'public' }
]
*/

Holiday object

getHolidays() as well as a matching isHoliday() call return either a list or a single holiday object which consists of:

  • {String} date - ISO Date String of (start)-date in local format
  • {Date} start - start date of holiday
  • {Date} end - end date of holiday
  • {String} name - name of holiday using language (if available)
  • {String} type - type of holiday public|bank|school|optional|observance
  • {Boolean} substitute - (optional) if true holiday substitutes another holiday`
  • {String} note - (optional) note`

Dates

The date String represents the start date of the holiday in ISO format without timezone. This string it intended for information only.

start and end are the start/end date of the holiday within the selected timezone of the country, state, region.

Name

The name names the holiday in the local language of the selected country, state, region. The applied language(s) can be requested using getLanguages().

The language can be changed using the setLanguages() method. In case that not translation is available a fall-back to the next given language will be made. E.g. local language is "fr", setLanguages('nl') was called. For all holidays where no dutch translation is available the French version will be used instead.

All holiday names should support an English translation.

Types of holidays

Currently the following type with their meaning are supported

type meaning
public public holiday
bank bank holiday, banks and offices are closed
school school holiday, schools are closed
optional majority of people take a day off
observance optional festivity, no paid day off

Additionally a note field is sometimes available for further clarification.

API

See Holidays API for further information.

Data

All data for the holidays of the different countries is contained in ./data/holidays.json. For changing holiday data edit the appropriate country in ./data/countries. Any details on structure and available grammar for holiday attribution is described in holidays.yaml specification.

Custom builds of holidays.json

If only selected countries are required in data/holidays.json you can add the following script to your npm scripts section. E.g. for picking just US, Canada, Mexico do the following:

"scripts": {
  "build": "holidays2json --pick US,CA,MX --min"
},

The --min switch removes dependencies which are not required for the countries selected. You may not be able to use the full set of rules in case you want to add custom rules.

Alternatively you may use the --omit option.

Manually use

./scripts/holidays2json --pick US,CA,MX

NOTE: There are some countries which depend on data of others which might render the file useless. e.g. "GU" requires "US", so try to pick or omit both.

Bundling with webpack

To minimize bundle sizes consider adding the following lines in your webpack config. Please take a look at ./webpack.config.js. To further reduce size consider custom builds by only selecting required countries.

...
  plugins: [
    new webpack.IgnorePlugin({
      checkResource (resource, context) {
        // ---- do not bundle astronomia vsop planet data
        if (/\/astronomia\/data$/.test(context)) {
          return !['./deltat.js', './vsop87Bearth.js'].includes(resource)
        }
        // ---- do not bundle moment locales
        if (/\/moment\/locale$/.test(context)) {
          return true
        }
        return false
      }
    })

Browser

This project also runs in all modern browsers. See ./examples/browser

Browser Version Notes
Chrome >=45
Firefox >=45
Safari >=10
Edge >=13
IE >=11 needs polyfill core-js/es6

Please do not forget to set the correct charset!

<html>
<head>
  <!-- set page-wide -->
  <meta charset="UTF-8">
  ...
</head>
<body>
  ...
  <!-- or per script -->
  <script src="your-bundle.js" charset="UTF-8"></script>

CDN

Minified distribution bundles are available via https://unpkg.com

NOTE: dist-bundles are quite huge in size ~1.5MByte so use custom builds instead.

See https://unpkg.com/date-holidays/dist/

  • index.min.js: commonjs2 bundle
  • umd.min.js: umd bundle

Contribution and License Agreement

You like to contribute please read CONTRIBUTING.md.

If you contribute code to this project, you are implicitly allowing your code to be distributed under the ISC license. You are also implicitly verifying that all code is your original work or correctly attributed with the source of its origin and license.

License

Copyright (c) 2016- commenthol (ISC License)

The data contained in holidays.json and ./data/countries/*.yaml is available under CC BY-SA 3.0 as the majority of data obtained relies on wikipedia articles. The required attribution can be found inside the files ./data/countries/*.yaml.

See LICENSE for more information.

References

changelog (log de mudanças)

Changelog

3.24.2 (2025-04-18)

  • Merge branch 'sk-constitution-day' 58bdda13
  • fix(SK): constitution day is not public holiday 0230bc64
  • fix(CA-NB, #506): family day c5f95f30

3.24.1 (2025-03-16)

  • fix(LI): correct spelling of Liechtenstein a4631b7e

3.24.0 (2025-03-08)

  • feat(SA): Add Saudi Arabia holidays 494349f3
  • feat(AR): Update Argentine holiday data comprehensively (1976-2025) 419cfcca
  • feat(IT): Added holiday data for RM Lazio Saints Peter and Paul 212fa34d
  • ci: add workflow_dispatch trigger to run CI on any commit 22859900

3.23.22 (2025-02-16)

  • fix(MX): correct Mexican holiday definitions, prevent duplicate occurrences. ce467d88

3.23.21 (2025-02-09)

  • fix(SG): Public holidays 2025 update f240bce6
  • fix(SG): Update dates of SG public holidays hari raya 7fee91d3
  • fix(PL): yaml whitespace 32acb999

3.24.0 (2025-02-01)

  • feat(PL, #512): add non-public holidays 2282059c
  • test: extend fixtures to 2028, 2029 81a2fabe
  • fix(DE-BE): 75th anniversary of the GDR uprising 89481547

3.23.19 (2025-02-01)

  • test(ID): Apply test for ID Holiday 2025 until 2027 f271b3f2
  • fix(ID): Update Nyepi Holiday 2027 0b6f5ffd
  • fix(ID): Add Nyepi Holiday dates until 2027 129d3ecd
  • fix(ID): Add Waisak holiday dates until 2027 947c37ce
  • fix(PL, #507): add Christmas Eve as public holiday since 2025 737ef6ff
  • fix(DE-BE): add liberation day 2025 for DE-BE c480c86f

3.23.18 (2025-01-08)

  • fix(NL): state and region names 246cd650
  • fix(IE): remove bank holiday and update test fixtures efc0475d
  • fix(NL): additional fix and translations Dutch 2fe1276d
  • fix(NL): Dutch states d26b9b5e

3.23.17 (2025-01-02)

  • chore: update github actions to v4; deprecate node@18 936662ff
  • test: Update fixtures 3b8ad77f
  • fix(NL): attributions and translations Dutch holidays ebf3f196
  • chore: fix status badge e925b293
  • fix(RO): Update RO data (#1) b6ea8b56

3.23.16 (2024-12-27)

  • fix(GB-SCT,#494): add substitute day for st andrew's day 8f0fb474
  • fix(IE,#495): removal of Christmas bank holiday 930fd6ee

3.23.15 (2024-12-27)

  • fix(BR): Fixes indentation and fixtures json based on fix 3ee04a9f
  • fix(BR): Updates Black Awareness for BR since it is a national holiday beginning on 2024 851f7fb8

3.23.14 (2024-12-12)

  • fix(IT): state names c3daf4c4
  • feat(IT): add Florence patron saint holiday 82069765
  • docs: fix description on calling holidays2json.cjs in README c674a6ab

3.23.13 (2024-11-26)

  • fix(AU): correct Kings Birthday in Western Australia for 2024 6a81888e
  • fix(CL): enable june solstice holiday since 2022 e8e98e1f
  • fix(CL): changed fixed date holiday june 21st to june solstice b9417a8d
  • chore: add node@22 65b10b7b

3.23.12 (2024-05-04)

  • test(BQ,CW,SR): fix fixtures 70dbb2d3
  • fix(NL): improved Dutch translations b6ae4901
  • fix(names): added World Animal Day 38de6fda

3.23.11 (2024-04-17)

  • add corpus christi holiday in São Paulo, SP, BR 7cedeeb8
  • Add Voting Day to ZA-2024.json 23580f19
  • chore: run yaml before build 1ee2e823
  • Remove string from HolidayType, so that autocomplete works 3d00852a
  • Added ZA public holiday for Voting Day on May 29, 2024 bfae8b17

3.23.10 (2024-03-14)

  • fix(HU,#464): update the name of the public holiday on March 15 3d594188

3.23.9 (2024-02-29)

3.23.8 (2024-02-08)

  • fix(AT,#455): josefitag set to type school 8adc4b72
  • fix(SG): Fix Singapore Hari Raya Puasa date for 2024 - Update SG.yaml 45a75e8f

3.23.7 (2024-01-25)

  • fix(SE): Update SE.yaml with english translations b3f73b13

3.23.6 (2024-01-25)

  • fix(#452): replace lodash.pick with lodash d511e669

3.23.5 (2024-01-20)

  • chore: disabling dtslint temporarily a7c91e52
  • fix(HU): good-friday is public holiday since 2017 ebe4a95c

3.23.4 (2024-01-20)

  • fix(ZA): Add ZA Rugby World Cup Win Public Holiday b169fcfb

3.23.3 (2023-12-10)

  • fix(BR): Add black conscience day as a regional holiday 8689366a
  • fix(NO): fixed sundays fixed sundays in advent for norway 86f0f5a5
  • fix(BO): Correct holiday type for Bolivia 6f9d4c04

3.23.2 (2023-11-25)

  • fix(GL,EG): DST time changes 58e8ffc9
  • fix: add missing y to January 2nd holiday c3041273

3.23.1 (2023-11-04)

  • fix(HU): Adding school holidays till the end of Jan 2024 27b2071a
  • fix(NL): Improve holiday definitions for The Netherlands 8adc8a42

3.23.0 (2023-10-18)

  • fix: Changed source linking and attributions f218d1c9
  • feat: Updated for Bolivian holidays 5b54bdda
  • fix: modify Queen's Birthday to King's Birthday in Australia a4435a76

3.22.1 (2023-10-05)

  • fix(US): modify holiday name for DC, ME, NM with sources 375740be
  • fix(US): modify apostrophe character for MN holiday b1c9617e
  • fix(US): change Columbus Day to Indigenous Peoples Day in US.IA since 2018 06db084a

3.22.0 (2023-09-14)

  • feat(UA): Update ukrainian holidays 91d8a1a3

3.21.5 (2023-08-27)

  • fix(AT): yaml error afbe5f00
  • chore: update license attributions 8fe7d2d0
  • Make Leopoldi-Tag optional , add notes and source 8e02b295

3.21.4 (2023-08-25)

  • fix(SG): added SG presidential election polling day 2023 a7211a9a

3.21.3 (2023-08-16)

  • fix(BE-VLG,#424): add boxing day as observance c03b59b6

3.21.2 (2023-06-24)

  • fix(AX): midsummer should use same logic as SE and FI c414c4d1
  • fix(TH): Fixing wrong translation for Songkran Day f80e18d8

3.21.1 (2023-06-08)

3.21.0 (2023-06-03)

  • feat(LV): Bronze medal of the Latvian hockey team at the 2023 World Hockey Championship 26e1b9ef

3.20.0 (2023-06-03)

  • fix: last observed 2020, so prior to 2021 6397ed83
  • fix: actually since 2020 7da8dc08
  • feat: remove Lee-Jackson Day starting 2023, add Election Day a70b0819
  • fix: add start date 523f7cd5
  • fix: re-add for dates prior to 2016 249d7a91
  • feat: remove service reduction day in US.MD 64519cf4
  • Fixed tests after changes to kings birthday d9d40ee9
  • Update NO.yaml 9a94fffd

3.19.2 (2023-05-12)

  • test: add test fixtures for years 2026 2027 0207f723
  • test(GL): fix timezone changes 9092c7ad
  • chore: tslint add no-redundant-jsdoc false 66c1afa4
  • chore(actions): add node@20 2d75f5b8
  • test(EG): fix tests as of moment-timezone update 9988e708

3.19.1 (2023-05-11)

  • test(NZ): fix tests for King's Birthday which is active since 2023 ae25c892
  • fix(NZ): Update Queens Birthday to Kings Birthday ba42e023

3.19.0 (2023-03-12)

  • docs: adding Thailand; updating attribution 58076aa2
  • feat(TH): Add names for New year & New Year's Eve 5b0b9b0c
  • feat(TH): Add Thailand holidays 44df7acd

3.18.0 (2023-03-04)

  • feat(BR): add cidade maravilhosa, Rio de Janeiro, Brazil, municipal holidays! 4d790b72

3.17.0 (2023-03-04)

  • feat(IT): saint ambrose day milan italy ef619b8b
  • Update IT.yaml 234db9e6
  • feat(DK): Removed Prayer Day from Denmark from 2024 bf5c515f
  • added swedish translation for Father's day #401 23df93e8
  • fix(NO): fixed typo in NO.yaml 1e87d833
  • feat(NO): added missing norwegian holidays fa734db8

3.16.17 (2023-02-11)

  • fix(IE): new public holiday St. Brigid's Day 98a619ec

3.16.16 (2023-02-11)

3.16.15 (2023-01-11)

  • fix(#392,FI): fix Finland's incorrect New Year's Eve rule a0b69a24
  • fix(IE): 2nd of january and 27th of dec is a bank holiday 98222af3

3.16.14 (2023-01-05)

  • fix(CL): Adds 08-10 as observance holiday for CL-TA 7bb7e3d8
  • fix(CL): Fixes wording on 06-29 holiday offsets 9753c1df
  • fix(CL): Removes one-off holiday from CL-TA fixtures from 2016 onwards 202b8c9f
  • chore: Adds holidays for 2023 CL a81e9a53

3.16.13 (2022-12-17)

  • fix(GL): moment timezone update f7824b2c
  • fix(SG,#387): correct 2023 holidays dc13d37b

3.16.12 (2022-12-10)

  • fix(GB): Added King Charles III's Coronation 0b07976a
  • fix(LU): added a source for Luxembourg f46c5f45

3.16.11 (2022-11-20)

  • test(MX,FJ): fix tests due to timezone update 9c961f7a
  • Improved support for public holidays in Luxembourg - added translations in Luxembourgish (lb) - added active dates - renamed 06-23 into National Holiday ("L'anniversaire du Grand-Duc" is not the official name and is currently not true) 80316399
  • chore: update actions 3d7edfc5

3.16.10 (2022-11-11)

3.16.9 (2022-11-02)

  • fix(DE-HE,#361): easter and pentecost are public holidays 93a6213c

3.16.8 (2022-10-22)

  • Update Ireland to show the correct October holiday 37591e5b

3.16.7 (2022-09-15)

  • chore: npmrc strict-version and ignore-scripts set e14212ef
  • fix(NZ): 2022-09-26 National Day of Mourning for Queen Elizabeth II aa363e07
  • fix(ES): various fixes for state holidays 81a9ef8a

3.16.6 (2022-09-11)

  • fix(CL): Fixes holiday dates for Chile in september, october ceab3db9
  • fix(IR): fix failing tests 77d5f119
  • fix(AU): 2022-09-22 National Day of Mourning for Queen Elizabeth II ff885563
  • fix(GB,GG,GI,IM,JE): 2022-09-19 Queen Elizabeth's Funeral Day 511d65bf
  • chore: Fixes holiday dates for Chile on september, october ceab3db9

3.16.5 (2022-08-24)

  • fix(DE-MV): International Women's Day 6479fc21
  • fix(geneva): remove jeune federal af4d5640

3.16.4 (2022-08-12)

  • fix(translation): typo in French translation for 08-01 in CH.yaml dad6d8b9

3.16.3 (2022-07-30)

3.16.2 (2022-07-01)

  • fix(AR,#343): Feriado Puente Turístico 046f615f
  • Fix NZ Matariki 2036 misprint 6522fd1b

3.16.1 (2022-06-12)

  • fix(US.CA): Presidents' Day name 845793aa

3.16.0 (2022-06-02)

  • fix(SI): Re-verted regions placeholders 79f13907
  • feat(SI): Added Slovenian sport day 57f6033e
  • feat(SI): Udpated Slovenian Holidays and fixtures 64e636b2

3.15.0 (2022-05-21)

3.14.10 (2022-04-23)

  • fix(NO,#331): remove easter sat b2e0a7f5

3.14.9 (2022-04-23)

3.14.8 (2022-04-15)

  • fix(BE): Mark Pentecost and Regional days as observance fdf78fc1

3.14.7 (2022-04-14)

3.14.6 (2022-04-09)

  • test(RU,#320): fix tests for removal of flag day 19f87a10
  • Changes in public Ru holidays 07c3c9c6

3.14.5 (2022-04-09)

  • fix(DE-HB,DE-HE,DE-TH,#321): Dec. 31 is not a public holiday dd849428

3.14.4 (2022-03-20)

  • test(BE): fix tests 41b28b6c
  • fix(BE): Easter isn't a paid holiday in belgium 255bf516

3.14.3 (2022-02-25)

  • docs(CA): add reference for National Day for Truth and Reconciliation ffb6c908
  • Update CA.yaml 33322664
  • docs: update spec 32e05c32
  • fix(HK): Use new if is holiday rule for day after mid-autumn festival 653bc7a9
  • fix(NZ-OTA): Move Provincial anniversary day if on Easter Monday 95cbb0ff
  • fix(CH-GL): Move Näfelser Fahrt if on Maundy Thursday aaa171e4
  • fix(CH): Add Maundy Thursday as observance a0e69bab

3.14.2 (2022-01-12)

  • fix(IL): join Mimouna with 7th day of Pesach e85534c9
  • fix(IL): fix Mimouna date and add alternative names 17044cae
  • chore(github-actions): enable push on master branch 302b2180
  • chore: use github actions 0b31c777

3.14.1 (2022-01-11)

3.14.0 (2022-01-04)

  • fix(GB,GG,GI,IM,JE,#303): Spring bank holiday 59a33cec
  • feat(IL): New country Israel e4dcca42

3.13.1 (2021-12-30)

  • fix(NZ,#288): Provincial anniversary days 7a2eaaf1
  • fix(NZ,#288): add Matariki and missing regions cf431cc6

3.13.0 (2021-12-21)

  • fix(GR: added easter 49 back as public holiday for Greece 6343368f
  • fix(GR,CY): changed easter 49 to easter 50 for Greece and updated name for Cyprus ebb874a1
  • feat(AU): added Mothers day to au 8a039da2
  • feat(AU,GB,IE): fathers day for au, gb and ie 7b6d5edc
  • test(US): Saint Patrick's Day 63b7ed92
  • fix(AS,GU,PR,VI): Saint Patrick's Day is not observed f4ed7469
  • feat(US): Add St. Patrick's Day for US 5252b7aa

3.12.2 (2021-11-26)

  • Move eslint-plugin-yml to devDependencies 53df5631

3.12.1 (2021-11-16)

  • chore: yaml linter e65ebeb6
  • fix(FJ): moment-timezone update 2b6d8093
  • fix(ID): fixing Indonesia's independence day 3c372c91
  • chore(travis): upgrade node version to 14, 16 and latest 08220cb2

3.12.0 (2021-10-29)

  • docs: Readme and attribution update 5d87d9cd
  • fix(BN): holiday names in ms b406e73b
  • feat: Add Malaysia holidays a7e67180

3.11.0 (2021-10-14)

  • fix(NL,#285): change Bevrijdingsdag type to observance 7b546bd6
  • feat(NC): New country New Caledonia 8e14774f
  • Add New Caledonia 328355bf

3.10.0 (2021-10-07)

  • chore: fix example 67148510
  • fix(HU,#282): 12-06 change type to observance 3dad5f52
  • test(FI): added missing tests and some corrections 1e53646c
  • feat(FI): added father's day to Finnish, corrected spelling of mother's day 1bd795db

3.9.1 (2021-10-01)

  • test(LU): fix failing tests 25a26894
  • fix(LU): Remove incorrect public holiday 64df0cd5

3.9.0 (2021-09-03)

  • feat(EH): new country Western Sahara e4c33909
  • docs(ET): new holiday source e9d0e897
  • feat(ER): new country Eritrea 7bcfdcc1
  • feat(GH): new country Ghana 7715ecae
  • feat(GM): new country The Gambia 2677876f
  • feat(GW): new country Guinea-Bissau b247c960
  • feat(LR): new country Liberia 3bc00404
  • feat(LY): new coutry Libya e3856800
  • feat(MR): new country Mauretania b47650d1
  • feat(NG): new country Nigeria 66b9749a
  • feat(SD): new country Sudan a58eacc2
  • feat(SL): new country Sierra Leone 9e5093a2
  • feat(ST): new country São Tomé & Príncipe 93cd290f
  • feat(SZ): new country Eswatini 25e3a0fe
  • feat(VG): new country British Virgin Islands b57360c6
  • feat(VI): new country U.S. Virgin Islands 48cf25b7
  • feat(VC): new country Saint Vincent and the Grenadines 71db0b3a
  • feat(TT): new country Trinidad & Tobago 45b2b464
  • feat(TC): new country Turks & Caicos Islands f7c81ec6
  • feat(SX): new country Sint Maarten 11899d42
  • feat(SR): New country Suriname 2d54a0d8
  • feat(PR): new country Puerto Rico b9b44193
  • feat(PM): new country St. Pierre & Miquelon 217055b2
  • feat(MS): new country Montserrat fa50b54c
  • feat(LC): New country Saint Lucia 40d3807d

3.8.4 (2021-08-26)

  • fix(CN): public holidays f63c3f01
  • fix(FR): pentecost is not a public holiday 045b3019
  • test(example): pass on language 454f40f0

3.8.3 (2021-08-08)

  • fix(GB,GG,GI,IM,JE): christmas substitution days 6e8d61f3
  • fix(GB,GG,GI,IM,JE): Replace Early May with Spring bank holiday 36ac1c3c

3.8.2 (2021-08-08)

  • fix(GB,GG,GI,IM,JE): Queen’s Platinum Jubilee cd415972
  • chore: update travis badge 19f66753

3.8.1 (2021-08-03)

  • test(AS,CH,EG,GU,IS,SE,US): fix test cases 6b4b6100
  • Fix some illegal dates be9b045e

3.8.0 (2021-06-29)

3.7.0 (2021-06-26)

3.6.0 (2021-06-19)

  • fix(US): add Juneteenth ad public holiday 89c6db99
  • fix(CH-GL): Näfelser Fahrt and other holidays db764462
  • feat(HK): New country HK 9238b082

3.5.1 (2021-06-08)

  • docs: update countries and attribution cce1eb6c
  • fix(TN): official language order 2f402f35
  • fix(TD): official language order bd216ef0
  • fix(SN): country name f421a6a4
  • fix(SC): official language order a704f2ac
  • fix(RW): official language order ab25bab1
  • fix(NE): add holiday names in en 382c92a1
  • fix(MQ): add holiday names in en 2501163d
  • fix(ML): add holiday names in en e6901853
  • fix(MA): add holiday names in en 374adf28
  • fix(KM): add holiday names in en 17ff1bbd
  • fix(GP): add holiday names in en; attrib e4b44693
  • fix(GN): add holiday names in en 71c393d9
  • fix(FR): add holiday names in en 57c09a9c
  • Merge branch 'master' into feat-MF cb98c060
  • fix(MF): Saint Martin - update yaml MF: - attachment to France - update holiday - update test for MF and FR-MF 16ad1983
  • Merge remote-tracking branch 'origin/fix-BL' into fix-BL 5984cbe7
  • fix(BL): Saint Barthélemy - update yaml BL: - attachment to France - update holiday - update test for BL and FR-BL 67326d81
  • fix(BL): Reunion - update yaml BL: - attachment to France - update holiday - update test for BL and FR-BL 287c5fc1
  • fix(RE): Reunion - update yaml RE => Pentecost disabled - update test for RE f2ccd986
  • Revert "fix(RE): Reunion - update yaml RE => Pentecost disabled - update test for RE" a0cf4a6b
  • fix(RE): Reunion - update yaml RE => Pentecost disabled - update test for RE a2fc2ddb
  • fix(YT): Mayotte - update yaml YT - update test for YT 58518508
  • Merge remote-tracking branch 'origin/fix-MQ' into fix-MQ 5bc2044a
  • fix(MQ): Martinique - update yaml MQ - update test for MQ 71f044c9
  • fix(GF): French Guiana - update yaml MQ - update test for MQ 62978fdc
  • Merge remote-tracking branch 'origin/Fix-GF' into Fix-GF 16934748
  • fix(GF): French Guiana - update test d5cebc10
  • fix(GP) Guadeloupe - update test ba817c35
  • fix(GP) Guadeloupe - Pentecost disabled 654ae361
  • fix(GP) Guadeloupe - Add test and check 9bf0ff02
  • fix(GP) Guadeloupe - Add test and check 61b567d4
  • fix(GP) Guadeloupe - Pentecost disabled - Add holiday for 07-21 2bffc1a3

3.5.0 (2021-05-22)

  • fix: webpack exclude resources to decrease bundle sizes 9d7f0637
  • fix: ts export namespace 604474a9
    in your typescript project use

    import Holidays, { HolidaysTypes } from "date-holidays";
  • fix: package.json module for angular 89b8b0bd

3.4.0 (2021-05-16)

  • feat(SC): New country Seychelles 1f6c1215
  • feat(VU): New country Vanuatu eff90f8a
  • feat(KM): New country Comoros f1cac385
  • fix(DJ): Add two holidays for Djibouti 7d0d8dbe

3.3.0 (2021-05-08)

  • fix(CF): Add two holidays for Central African Republic fcd5b7c7
  • fix(TG): Add Ascension Day for Togo 6c1a70d8
  • feat(TD): new country Chad 258c8378
  • feat(GN): new country Guinea e9da83ca
  • feat(RW): Add holidays for country Rwanda 4d0cd383
  • feat(ML): Add holidays for country Mali 4b2994b7
  • feat(SN): Add holidays for country Senegal a3de7b72
  • feat(NE): Add holidays for country Niger 950fff26
  • feat(MG): Add one holiday for country Madagascar 3f6804e9
  • feat(MG): Add holidays for country Madagascar 26c2ba0b
  • feat(TN): new country Tunisia 73b3024d
  • feat(MA): new country Morocco 2bae17bf

3.2.0 (2021-05-05)

3.1.1 (2021-04-14)

  • fix(SE): Halloween has type observance 814674af

3.1.0 (2021-04-08)

  • docs: update supported countries and license attribution b4191511
  • fix(EG): default lang e1f33161
  • test(GG,GI,IM,JE): Fix tests for channel islands 4a72b797
  • test(AX): fix names 67e6ec61
  • fix(GB): #203 boxing day substitution rules a34aff0b
  • fix(SE): #165 missing evenings a3338afa
  • feat(FJ): new country fiji 8d7ebf73
  • feat(EG): new coutry egypt 21a748ff
  • feat(DZ): new country algeria 30a7b693
  • feat(DJ): country djibouti f73f02af
  • feat(CI): add republic of côte d'ivoire 2f0fc207
  • fix(TG): add country name f76bf867
  • feat(CK): cook islands a683f980
  • fix(example): refactor 943bc058
  • fix(example): hash route and language selection a3629fc1
  • fix: import 3db4d5b8

3.0.1 (2021-03-27)

  • fix(CA-QC): #200 Enable Easter Monday for Quebec 5dc08e4a
  • fix(CA-QC): #207 Disable Civic Holiday for Quebec 5400d586

3.0.0 (2021-03-27)

2.0.2 (2021-03-03)

  • fix(EE): Update EE Independence Day to be a public holiday 5670ca72

2.0.1 (2021-03-01)

  • fix(JP): revert regular Marine Day rule 86c81311
  • fix(JP): Add substitution rule for 07-20 so that 1997-07-21 is holiday a0c210b3
  • fix(JP): Add 4 public holidays 1959-04-10, 1989-02-24, 1990-11-12, 1993-06-09 2b19c353

2.0.0 (2021-02-13)

  • chore(travis): remove node 10 54986a6b
  • test: fix astronomia update 6d9d910f
  • break: isHolidays() returns a list 7fe58d31

1.9.1 (2021-01-28)

  • fix(#193): Adding "Europe Day" to Luxembourg's holidays f58a4999
  • fix(#193): Adding "Europe Day" to Luxembourg's holidays 44baf012

1.9.0 (2021-01-23)

  • docs: update attribution a86fe73c
  • docs: clarifying language about data aggregators 783a6462
  • fix(US-GA): Fixes #142 GA Confederate Memorial Day 2020 672261ce
  • docs: Guidelines for citations. f32a5a49
  • feat(GE): Holidays for Georgia(Country) 70aae144
  • feat(GE): Holidays for Georgia(Country) aa68e174

1.8.7 (2021-01-14)

  • fix(CZ): Change Czech Easter Sunday type to "observance" 8c9ce16b

1.8.6 (2021-01-08)

1.8.5 (2021-01-06)

  • chore(webpack): analyze size 35d34cdb
  • fix(HU): corrected HU holidays and added translations 9ebc6e42

1.8.4 (2020-12-31)

  • Fix: [BR] Lovers' Day as observance ea46204a

1.8.3 (2020-11-11)

  • docs(ES): add official bulletin sources 691d1439
  • fix: Add dependency for watch-run 3f84a3ac
  • fix(ES): Fix Spanish holidays according to official sources (BOE) 035ac167

1.8.2 (2020-10-27)

  • Add religious holidays ac98830c
  • fix(HR): 03-08 name and new holidays name and active 03888aa1
  • fix(HR): Add missing type for HR 11-01 c49cdcec
  • fix(HR): Update HR with 2020 change and add types 716acb7b

1.8.1 (2020-10-18)

  • fix(NZ): ensure correct boxing day substitution 3ea68d6e

1.8.0 (2020-10-12)

  • feat(ID): added public holidays in Indonesia a499debd

1.7.1 (2020-10-07)

  • docs(AU): update source 131776f9
  • fix(AU): exclude queen's birthday and labour day as national public holiday in AU d6c26c5d

1.7.0 (2020-09-27)

  • fix(CA): Canada does not use US spelling of labour day 99818c5f
  • feat(CA): add some Canadian observance type holidays 1d3b4eb9
  • fix(CA): Add French translation for Fathers Day 76834039
  • Update CA.yaml 84ac4a11

1.6.2 (2020-07-17)

  • fix(SE.*): fix holidays for SE 36e451b6

1.6.1 (2020-06-24)

  • fix(SE) Added 'midsommarafton' public holiday, old 'midsommar' -> 'midsommardagen' 76cc74a8

1.6.0 (2020-06-16)

1.5.3 (2020-06-06)

  • fix(NL): Fixed holidays for NL 3bfa17ba

1.5.2 (2020-05-23)

  • fix(RO): children's day is public 3ed93c2

1.5.1 (2020-04-28)

  • fix(CZ): new year, easter holiday names a96ffb2
  • test: TEST_XXL env runs all tests 678150f
  • test: add fixtures for years 2021-2025 5fdbc24

1.5.0 (2020-04-18)

  • feat(US): Easter Sunday observed in US cd89982

[1.4.14]https://github.com/commenthol/date-holidays/compare/1.4.13...1.4.14) (2020-03-13)

  • fix(NZ): correct substitution of NZ holidays [0633cf9]

1.4.13 (2020-02-29)

  • fix(DE): Changed "Faschingsdienstag" to observance [0e3cf5f]
  • fix(AU.TAS): based on advice from WorkSafe Tasmania [8f21bbb]
  • fix(AU): add back old fixtures [05cd81a]
  • fix(AU): some fixtures, might have to delete old years [c0fa77e]
  • fix(AU.TAS): checked against 2020-22 [1d9a71f]
  • fix(AU.WA): checked for 2020-21 [1aad481]
  • fix(AU.SA,AU.VIC): checked against 2020-2021 [696fa06]
  • fix(AU.QLD): manually checked 2020-21 [7f8625f]
  • refactor(AU.NT): remove dupe [0653e45]
  • fix(AU.NT): manually checked 2019-20 [75a6d5f]
  • fix(AU.NSW): manually checked 2020-2021 [bd62527]
  • fix(AU.ACT): manually checked 2020-2022 [bdf7031]
  • fix(AU.NT): partial public holidays [d612b04]
  • fix(AU.ACT): fixed for 2020 [ed07b2c]
  • docs(substitute): spelling mistake [683b0b9]
  • fix(AU.QLD,AU.NT): add back partial christmas eve [4cae304]
  • fix(AU): remove Christmas Eve [38085ca]

1.4.12 (2019-12-16)

  • chore: commitlint disable scope-case 5950cf1
  • fix(#129,DK): add observance holidays a82ff24
  • fix(#133,AR): shrove monday 56ebcbe

1.4.11 (2019-12-14)

  • chore: commitlint for semantic releasing c8a848d
  • Fix typings for setLanguages function 8fa4f90
  • fix(#127): Fix Typo in Scotland aaca6f5
  • fix(AU-SA): New Year's Eve 6f7c670

1.4.10 (2019-12-06)

  • fix(CA-BC, #124): Family day on 3rd Monday Family Day in CA-BC shifts from 2nd Monday in February to 3rd starting 2019
  • fix(typescript, #121): Reflected change of isHoliday to class

1.4.9 (2019-11-22)

  • fix(GB, GG, IM, JE, GI): Early May bank holiday (VE day) on May 8th 2020
  • fix(DE-BE): Liberation Day 75th Anniversary

1.4.8 (2019-11-17)

  • fix(typescript, #117): isHoliday return type

1.4.7 (2019-11-05)

  • fix(NZ-CAN): Set Christchurch Show Day to 2nd Friday after 1st Tuesday

1.4.6 (2019-11-02)

  • c0b5082 chore(typescript): fix ts typings

1.4.5 (2019-10-12)

  • e4443d4 fix(US): CA Labor Day

1.4.4 (2019-10-09)

  • 3ad8d07 chore: bump deps

1.4.3 (2019-09-19)

  • 96a7c99 Dates for Catalonia State of Spain

1.4.2 (2019-08-05)

  • aaf326c chore: bump deps
  • f0aad3d fix: Remembrance day in Netherlands
  • a22dbcd Update NL.yaml
  • 52104d7 Fix Vietnamese (naming convention)
  • 2ca3138 Update VN.yaml

1.4.1 (2019-07-13)

  • 8c43335 fix(ts): TypeScript fix for HolidaysConstructor
  • b6c7953 fix(KE): Fix typo in Kenya
  • b5aad5a fix(ts): TypeScript fixes for Holiday and HolidaysInterface

1.4.0 (2019-04-14)

  • 2077ce0 feat(BD): new country Bangladesh
  • d4f1310 feat: add support for bengali-revised calendar
  • d34b6b8 fix(US): correct indigenous peoples day

1.3.10 (2019-03-31)

  • 3792105 fix(doc): typo
  • 9abbd26 fix(example): weekdays not shown for some dates
  • 1b76a97 fix(JP): substitue days; dates; new days

1.3.9 (2019-03-30)

  • 194cc3a fix(GU): fix Guam holidays
  • 50f39a4 fix(US-CA): Update Hawaiian state holidays
  • 720cb1c fix(US-CA): Update California state holidays
  • b327792 fix(US-AK): Renaming Columbus Day to Indigenous Peoples Day
  • 8832cdb feat(US): Veteran's Day Federal Offices closure
  • c9dde21 fix(US-MA): fix timezone
  • 1ddcf0e fix(CH): adding dayoff attribute
  • 0595893 feat(DE-TH): New holiday Intl. Children's Day
  • c3d0ab5 fix(US-MO): Add Lincoln's Birthday
  • eca1216 fix(US-HI): Add Presidents' Day in Hawaii

1.3.8 (2019-03-04)

  • bb38450 test(KR): failing test due to deltat update in astronomia
  • 6b3c82d fix(example): use local date for weekday
  • b361f0c fix(US): Different names for Washington's Birthday
  • 9d290c6 feat(SG): New Country Singapore
  • ece44e7 fix(NO): Frigjøringsdagen type observance

1.3.7 (2019-02-13)

  • DE: Reformation Day for DE-HB DE-HH DE-NI DE-SH and International Women's Day for DE-BE
  • new maintainer Ryan Gerry

1.3.6 (2019-02-03)

  • RO: Add Unification Day and Orthodox Good Friday
  • git: ignore compiled holidays.json

1.3.5 (2019-01-23)

  • Typescript: Interface export
  • DE: misspelling corrected "Baden Würtemberg" -> "Baden-Württemberg"

1.3.4 (2019-01-15)

  • US: Modify New Year's Eve in the US to be an all day holiday.
  • IE: Adding another banking source for IE.
  • IE: adding Christmas time bank holidays.
  • IE: adding a substitute bank holiday for St. Patrick's and two refinements

1.3.3 (2019-01-07)

  • HR: Fix easter holidays
  • PH: Adding optional and observed holidays
  • AU-QLD: Fix holidays
  • doc: Update spec with "Renaming holidays" section
  • MX: Adding bank holidays
  • PY: Update Hero's Day and 2017 holidays
  • KR: Fix test

1.3.2 (2018-12-27)

  • Add dist bundles for unpkg CDN

1.3.1 (2018-12-27)

  • Fix attribution typo for Vatican City.
  • Fix CH holiday names in default language
  • Fix CH holidays in different cantons
  • Fix CH All Swiss cantons with their names in en, de, fr, it

1.3.0 (2018-12-22)

  • New weekday rule

1.2.10 (2018-12-13)

  • Fix: Add Summer bank holiday to GB-NIR.

1.2.9 (2018-12-05)

  • Update docs
  • New Country Phillipines
  • New country Brunei
  • New country Bermuda
  • New country Benin
  • New country Bahrain
  • New country Burkina Faso
  • New country United Arab Emirates
  • DE: Add Advent sundays
  • New country Christmas Island
  • New country Cape Verde
  • Fix name "Assunção de Maria" for "pt"

1.2.8 (2018-08-29)

  • Fix name "Assunção de Maria" for "pt"
  • New country Cape Verde
  • New country Christmas Island
  • Add observed Advent Sundays to DE

1.2.7 (2018-08-27)

  • Fix Norwegian holiday names
  • New country St. Helena
  • New country Lesotho
  • New country Tonga

1.2.6 (2018-07-28)

  • New holiday Turkey Democracy and National Unity Day

1.2.5 (2018-04-14)

  • keep bundle sizes small

1.2.4 (2018-04-14)

  • removing module, jsnext:main exports
  • bundle example with webpack

1.2.2 (2018-02-11)

  • New states: Brasil
  • fix BR-SP Revolução Constitucionalista to 9th July

1.2.1 (2018-02-07)

  • New regions: Brasil

1.2.0 (2017-11-04)

  • Parser is moved into new repo date-holidays-parser
  • Minimizing data files and build requires --min on holidays2json script
  • New Countries
    • Greenland
    • Domenica
    • Curacao
    • Vatikan City
    • Ukraine
    • Slovenia
    • Serbia
    • Moldavia
    • Slovakia
    • Svalbard & Jan Mayen
    • San Marino
    • Macedonia
    • Kosovo
    • Gibraltar
  • Moving French oversee departments to own Country-Code
  • Fix Bosnia and Herzegovina orthodox christmas and names

1.1.1 (2017-11-03)

  • Adding ES Andalucía, Andalucía

1.1.0 (2017-09-10)

  • fix DK: Danish lang code
  • fix DE: adding Berlin as state See #27
  • Adding new Countries: AL, GY, FO, BA, CC
  • Adding attribution marker @attrib
  • Add country files *.todo which require holiday data
  • refactor active property for rules to en-/ disable rule in time periods

1.0.0 (2017-06-15)

  • major refactoring
  • Using ISO 8601 format for time spans
  • Renaming divisions, subdivisions to match CLDR
  • Adding new countries: AG, AI, AS, AW, AX, AZ, BB, BL, BQ, BY, CN, GG, IM, JE, KR, SO, VN

0.2.0 (2017-06-07)

  • split each country into a single yaml file
  • DE: Correction of holidays in BY, SN, TH
    • DE-BB: fix easter, pentecoste to "public"
    • DE-BY: use 08-15 as public in favor of population majority
    • Set 10-31 to observance
    • Add missing "Fronleichnam" to regions to DE-SN and DE-TH
    • Fix DE-BY holiday „Mariä Himmelfahrt“
    • Add missing school DE-BW holidays
    • Add missing DE Holiday on 2017-10-31
    • Fix DE holiday „Buß- und Bettag“
  • DE: Add Totensonntag, Volkstrauertag

0.1.10 (2017-05-03)

  • fix for US New Years Eve
  • fix for Labor Day spelling in en-us countries
  • new rule for optional Christmas Eve in US

0.1.9 (2017-04-27)

  • custom builds with holidays2json

0.1.8 (2017-03-21)

  • missing holidays AT

0.1.7 (2017-02-15)

  • new holidays for CA states/ provinces

0.1.6 (2017-01-19)

  • fix AU.nsw bank holidays

0.1.5 (2016-04-18)

  • Country Angola added
  • Country Mozambique added
  • Country Botswana added
  • Country Namibia added
  • Country South Africa added
  • Country Bahamas added
  • Country Dominican Republic added
  • Country Haiti added
  • Country Jamaica added

0.1.4 (2016-01-31)

  • New general query function used in date-holidays-ical

0.1.3 (2016-01-09)

  • Country New Zealand added
  • Country Cuba added
  • Guatemala: Día de las Fuerzas Armadas added
  • Country Belize added
  • Country Guatemala added
  • Country El Salvador added
  • Country Honduras added

0.1.2 (2016-01-04)

  • Country Nicaragua added
  • Country Costa Rica added
  • Country Panama added
  • Country Grenada added

0.1.1 (2016-01-04)

  • Country Colombia added
  • Country Venezuela added
  • Country Uruguay added
  • Country Ecuador added
  • Country Peru added
  • Country Paraguay added
  • Country Bolivia added
  • Country Chile added