date-holidays 3.16.0 → 3.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/data/countries/AR.yaml +34 -30
- package/data/countries/NZ.yaml +1 -1
- package/data/countries/US.yaml +1 -1
- package/data/holidays.json +48 -42
- package/data/names.yaml +4 -0
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.LICENSE.txt +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/umd.min.js +1 -1
- package/dist/umd.min.js.LICENSE.txt +1 -1
- package/dist/umd.min.js.map +1 -1
- package/lib/data.cjs +48 -42
- package/package.json +6 -2
- package/src/data.js +48 -42
package/lib/data.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const data = {
|
|
6
|
-
"version": "2022-
|
|
6
|
+
"version": "2022-07-30",
|
|
7
7
|
"license": "CC-BY-SA-3",
|
|
8
8
|
"holidays": {
|
|
9
9
|
"AD": {
|
|
@@ -670,6 +670,12 @@ const data = {
|
|
|
670
670
|
"01-01": {
|
|
671
671
|
"_name": "01-01"
|
|
672
672
|
},
|
|
673
|
+
"substitutes 01-01 if tuesday then previous monday if thursday then next friday": {
|
|
674
|
+
"_name": "Bridge Day",
|
|
675
|
+
"disable": [
|
|
676
|
+
2015
|
|
677
|
+
]
|
|
678
|
+
},
|
|
673
679
|
"easter -48": {
|
|
674
680
|
"_name": "easter -48"
|
|
675
681
|
},
|
|
@@ -683,10 +689,10 @@ const data = {
|
|
|
683
689
|
}
|
|
684
690
|
},
|
|
685
691
|
"substitutes 03-24 if tuesday then previous monday if thursday then next friday": {
|
|
686
|
-
"
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
692
|
+
"_name": "Bridge Day"
|
|
693
|
+
},
|
|
694
|
+
"2020-03-30": {
|
|
695
|
+
"_name": "Bridge Day"
|
|
690
696
|
},
|
|
691
697
|
"easter -3": {
|
|
692
698
|
"_name": "easter -3"
|
|
@@ -701,19 +707,13 @@ const data = {
|
|
|
701
707
|
}
|
|
702
708
|
},
|
|
703
709
|
"substitutes 04-02 if tuesday then previous monday if thursday then next friday": {
|
|
704
|
-
"
|
|
705
|
-
"en": "Bridge Day",
|
|
706
|
-
"es": "Feriado Puente Turístico"
|
|
707
|
-
}
|
|
710
|
+
"_name": "Bridge Day"
|
|
708
711
|
},
|
|
709
712
|
"05-01": {
|
|
710
713
|
"_name": "05-01"
|
|
711
714
|
},
|
|
712
715
|
"substitutes 05-01 if tuesday then previous monday if thursday then next friday": {
|
|
713
|
-
"
|
|
714
|
-
"en": "Bridge Day",
|
|
715
|
-
"es": "Feriado Puente Turístico"
|
|
716
|
-
}
|
|
716
|
+
"_name": "Bridge Day"
|
|
717
717
|
},
|
|
718
718
|
"05-25": {
|
|
719
719
|
"name": {
|
|
@@ -722,10 +722,7 @@ const data = {
|
|
|
722
722
|
}
|
|
723
723
|
},
|
|
724
724
|
"substitutes 05-25 if tuesday then previous monday if thursday then next friday": {
|
|
725
|
-
"
|
|
726
|
-
"en": "Bridge Day",
|
|
727
|
-
"es": "Feriado Puente Turístico"
|
|
728
|
-
}
|
|
725
|
+
"_name": "Bridge Day"
|
|
729
726
|
},
|
|
730
727
|
"06-20": {
|
|
731
728
|
"name": {
|
|
@@ -734,14 +731,18 @@ const data = {
|
|
|
734
731
|
}
|
|
735
732
|
},
|
|
736
733
|
"substitutes 06-20 if tuesday then previous monday if thursday then next friday": {
|
|
737
|
-
"
|
|
738
|
-
"en": "Bridge Day",
|
|
739
|
-
"es": "Feriado Puente Turístico"
|
|
740
|
-
}
|
|
734
|
+
"_name": "Bridge Day"
|
|
741
735
|
},
|
|
742
736
|
"07-09": {
|
|
743
737
|
"_name": "Independence Day"
|
|
744
738
|
},
|
|
739
|
+
"substitutes 07-09 if tuesday then previous monday if thursday then next friday if saturday then previous friday": {
|
|
740
|
+
"_name": "Bridge Day",
|
|
741
|
+
"disable": [
|
|
742
|
+
2015,
|
|
743
|
+
2022
|
|
744
|
+
]
|
|
745
|
+
},
|
|
745
746
|
"3rd monday in August": {
|
|
746
747
|
"name": {
|
|
747
748
|
"en": "Anniversary of the death of General José de San Martín",
|
|
@@ -754,45 +755,44 @@ const data = {
|
|
|
754
755
|
"es": "Día del Respeto a la Diversidad Cultural"
|
|
755
756
|
}
|
|
756
757
|
},
|
|
757
|
-
"
|
|
758
|
+
"substitutes 10-12 if monday,tuesday,wednesday then previous friday": {
|
|
759
|
+
"_name": "Bridge Day",
|
|
758
760
|
"disable": [
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
761
|
+
2015,
|
|
762
|
+
2016,
|
|
763
|
+
2020
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
"11-20 if tuesday,wednesday then previous monday if friday then next monday": {
|
|
764
767
|
"name": {
|
|
765
768
|
"en": "Day of National Sovereignty",
|
|
766
769
|
"es": "Día de la Soberanía nacional"
|
|
767
770
|
}
|
|
768
771
|
},
|
|
772
|
+
"substitutes 11-20 if saturday,sunday then next monday": {
|
|
773
|
+
"_name": "Bridge Day",
|
|
774
|
+
"disable": [
|
|
775
|
+
2016
|
|
776
|
+
]
|
|
777
|
+
},
|
|
769
778
|
"12-08": {
|
|
770
779
|
"_name": "12-08"
|
|
771
780
|
},
|
|
772
781
|
"substitutes 12-08 if tuesday then previous monday if thursday then next friday": {
|
|
773
|
-
"
|
|
774
|
-
"en": "Bridge Day",
|
|
775
|
-
"es": "Feriado Puente Turístico"
|
|
776
|
-
}
|
|
782
|
+
"_name": "Bridge Day"
|
|
777
783
|
},
|
|
778
784
|
"12-24 12:00": {
|
|
779
785
|
"_name": "12-24",
|
|
780
786
|
"type": "optional"
|
|
781
787
|
},
|
|
782
788
|
"substitutes 12-24 if tuesday then previous monday": {
|
|
783
|
-
"
|
|
784
|
-
"en": "Bridge Day",
|
|
785
|
-
"es": "Feriado Puente Turístico"
|
|
786
|
-
}
|
|
789
|
+
"_name": "Bridge Day"
|
|
787
790
|
},
|
|
788
791
|
"12-25": {
|
|
789
792
|
"_name": "12-25"
|
|
790
793
|
},
|
|
791
|
-
"substitutes 12-25 if thursday then next friday": {
|
|
792
|
-
"
|
|
793
|
-
"en": "Bridge Day",
|
|
794
|
-
"es": "Feriado Puente Turístico"
|
|
795
|
-
}
|
|
794
|
+
"substitutes 12-25 if tuesday then previous monday if thursday then next friday": {
|
|
795
|
+
"_name": "Bridge Day"
|
|
796
796
|
},
|
|
797
797
|
"12-31 12:00": {
|
|
798
798
|
"_name": "12-31",
|
|
@@ -16663,7 +16663,7 @@ const data = {
|
|
|
16663
16663
|
"en": "Matariki"
|
|
16664
16664
|
}
|
|
16665
16665
|
},
|
|
16666
|
-
"2036-07-
|
|
16666
|
+
"2036-07-18": {
|
|
16667
16667
|
"name": {
|
|
16668
16668
|
"en": "Matariki"
|
|
16669
16669
|
}
|
|
@@ -21334,7 +21334,7 @@ const data = {
|
|
|
21334
21334
|
"days": {
|
|
21335
21335
|
"3rd monday in February": {
|
|
21336
21336
|
"name": {
|
|
21337
|
-
"en": "
|
|
21337
|
+
"en": "Presidents' Day"
|
|
21338
21338
|
}
|
|
21339
21339
|
},
|
|
21340
21340
|
"2nd monday in October": false,
|
|
@@ -24980,6 +24980,12 @@ const data = {
|
|
|
24980
24980
|
"vi": "Tổng khởi nghĩa"
|
|
24981
24981
|
}
|
|
24982
24982
|
},
|
|
24983
|
+
"Bridge Day": {
|
|
24984
|
+
"name": {
|
|
24985
|
+
"en": "Bridge Day",
|
|
24986
|
+
"es": "Feriado Puente Turístico"
|
|
24987
|
+
}
|
|
24988
|
+
},
|
|
24983
24989
|
"substitutes": {
|
|
24984
24990
|
"name": {
|
|
24985
24991
|
"en": "substitute day",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "date-holidays",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.3",
|
|
4
4
|
"description": "worldwide holidays",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"holidays",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"Ben Arwin <github@arwin.net>",
|
|
32
32
|
"Bilal Gültekin <bilal@Bilals-MacBook-Pro.local>",
|
|
33
33
|
"bogdanmarinescu <bogdan.marinescu@protonmail.com>",
|
|
34
|
+
"Braeden Paradine <bparadine@gmail.com>",
|
|
34
35
|
"Brandon Bay <brandon.bay@gmail.com>",
|
|
35
36
|
"Brian Keifer <brian@valinor.net>",
|
|
36
37
|
"Christian Schinnerl <Schinnerl.Christian@gmail.com>",
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
"Lukas Eipert <git@leipert.io>",
|
|
68
69
|
"Mauro Braggio <m.braggio@e-time.it>",
|
|
69
70
|
"Matthias Lösch <mlo@codiac.de>",
|
|
71
|
+
"Nancy <nancy@transit.app>",
|
|
70
72
|
"Nils Mehlhorn <nilsmehlhorn@users.noreply.github.com>",
|
|
71
73
|
"oprogramador <uomodislesia@gmail.com>",
|
|
72
74
|
"Oscar Lagercrantz <oscar.lagercrantz@gmail.com>",
|
|
@@ -94,6 +96,7 @@
|
|
|
94
96
|
"Wayne Parrott <wayne.parrott@reblcorp.com>",
|
|
95
97
|
"Wésley Queiroz <wesleycoder@gmail.com>",
|
|
96
98
|
"westn <westn89@gmail.com>",
|
|
99
|
+
"Will Bamford <w.bamford@gmail.com>",
|
|
97
100
|
"William Santos <william@MacBook-Pro-de-William-2.local>",
|
|
98
101
|
"Yannick <yannick.franssen@outlook.com>",
|
|
99
102
|
"Yoshio HANAWA <y@hnw.jp>",
|
|
@@ -106,7 +109,8 @@
|
|
|
106
109
|
"exports": {
|
|
107
110
|
".": {
|
|
108
111
|
"import": "./src/index.js",
|
|
109
|
-
"require": "./lib/index.cjs"
|
|
112
|
+
"require": "./lib/index.cjs",
|
|
113
|
+
"types": "./types/index.d.ts"
|
|
110
114
|
},
|
|
111
115
|
"./data": {
|
|
112
116
|
"import": "./src/data.js",
|
package/src/data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const data = {
|
|
2
|
-
version: '2022-
|
|
2
|
+
version: '2022-07-30',
|
|
3
3
|
license: 'CC-BY-SA-3',
|
|
4
4
|
holidays: {
|
|
5
5
|
AD: {
|
|
@@ -666,6 +666,12 @@ export const data = {
|
|
|
666
666
|
'01-01': {
|
|
667
667
|
_name: '01-01'
|
|
668
668
|
},
|
|
669
|
+
'substitutes 01-01 if tuesday then previous monday if thursday then next friday': {
|
|
670
|
+
_name: 'Bridge Day',
|
|
671
|
+
disable: [
|
|
672
|
+
2015
|
|
673
|
+
]
|
|
674
|
+
},
|
|
669
675
|
'easter -48': {
|
|
670
676
|
_name: 'easter -48'
|
|
671
677
|
},
|
|
@@ -679,10 +685,10 @@ export const data = {
|
|
|
679
685
|
}
|
|
680
686
|
},
|
|
681
687
|
'substitutes 03-24 if tuesday then previous monday if thursday then next friday': {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
688
|
+
_name: 'Bridge Day'
|
|
689
|
+
},
|
|
690
|
+
'2020-03-30': {
|
|
691
|
+
_name: 'Bridge Day'
|
|
686
692
|
},
|
|
687
693
|
'easter -3': {
|
|
688
694
|
_name: 'easter -3'
|
|
@@ -697,19 +703,13 @@ export const data = {
|
|
|
697
703
|
}
|
|
698
704
|
},
|
|
699
705
|
'substitutes 04-02 if tuesday then previous monday if thursday then next friday': {
|
|
700
|
-
|
|
701
|
-
en: 'Bridge Day',
|
|
702
|
-
es: 'Feriado Puente Turístico'
|
|
703
|
-
}
|
|
706
|
+
_name: 'Bridge Day'
|
|
704
707
|
},
|
|
705
708
|
'05-01': {
|
|
706
709
|
_name: '05-01'
|
|
707
710
|
},
|
|
708
711
|
'substitutes 05-01 if tuesday then previous monday if thursday then next friday': {
|
|
709
|
-
|
|
710
|
-
en: 'Bridge Day',
|
|
711
|
-
es: 'Feriado Puente Turístico'
|
|
712
|
-
}
|
|
712
|
+
_name: 'Bridge Day'
|
|
713
713
|
},
|
|
714
714
|
'05-25': {
|
|
715
715
|
name: {
|
|
@@ -718,10 +718,7 @@ export const data = {
|
|
|
718
718
|
}
|
|
719
719
|
},
|
|
720
720
|
'substitutes 05-25 if tuesday then previous monday if thursday then next friday': {
|
|
721
|
-
|
|
722
|
-
en: 'Bridge Day',
|
|
723
|
-
es: 'Feriado Puente Turístico'
|
|
724
|
-
}
|
|
721
|
+
_name: 'Bridge Day'
|
|
725
722
|
},
|
|
726
723
|
'06-20': {
|
|
727
724
|
name: {
|
|
@@ -730,14 +727,18 @@ export const data = {
|
|
|
730
727
|
}
|
|
731
728
|
},
|
|
732
729
|
'substitutes 06-20 if tuesday then previous monday if thursday then next friday': {
|
|
733
|
-
|
|
734
|
-
en: 'Bridge Day',
|
|
735
|
-
es: 'Feriado Puente Turístico'
|
|
736
|
-
}
|
|
730
|
+
_name: 'Bridge Day'
|
|
737
731
|
},
|
|
738
732
|
'07-09': {
|
|
739
733
|
_name: 'Independence Day'
|
|
740
734
|
},
|
|
735
|
+
'substitutes 07-09 if tuesday then previous monday if thursday then next friday if saturday then previous friday': {
|
|
736
|
+
_name: 'Bridge Day',
|
|
737
|
+
disable: [
|
|
738
|
+
2015,
|
|
739
|
+
2022
|
|
740
|
+
]
|
|
741
|
+
},
|
|
741
742
|
'3rd monday in August': {
|
|
742
743
|
name: {
|
|
743
744
|
en: 'Anniversary of the death of General José de San Martín',
|
|
@@ -750,45 +751,44 @@ export const data = {
|
|
|
750
751
|
es: 'Día del Respeto a la Diversidad Cultural'
|
|
751
752
|
}
|
|
752
753
|
},
|
|
753
|
-
'
|
|
754
|
+
'substitutes 10-12 if monday,tuesday,wednesday then previous friday': {
|
|
755
|
+
_name: 'Bridge Day',
|
|
754
756
|
disable: [
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
757
|
+
2015,
|
|
758
|
+
2016,
|
|
759
|
+
2020
|
|
760
|
+
]
|
|
761
|
+
},
|
|
762
|
+
'11-20 if tuesday,wednesday then previous monday if friday then next monday': {
|
|
760
763
|
name: {
|
|
761
764
|
en: 'Day of National Sovereignty',
|
|
762
765
|
es: 'Día de la Soberanía nacional'
|
|
763
766
|
}
|
|
764
767
|
},
|
|
768
|
+
'substitutes 11-20 if saturday,sunday then next monday': {
|
|
769
|
+
_name: 'Bridge Day',
|
|
770
|
+
disable: [
|
|
771
|
+
2016
|
|
772
|
+
]
|
|
773
|
+
},
|
|
765
774
|
'12-08': {
|
|
766
775
|
_name: '12-08'
|
|
767
776
|
},
|
|
768
777
|
'substitutes 12-08 if tuesday then previous monday if thursday then next friday': {
|
|
769
|
-
|
|
770
|
-
en: 'Bridge Day',
|
|
771
|
-
es: 'Feriado Puente Turístico'
|
|
772
|
-
}
|
|
778
|
+
_name: 'Bridge Day'
|
|
773
779
|
},
|
|
774
780
|
'12-24 12:00': {
|
|
775
781
|
_name: '12-24',
|
|
776
782
|
type: 'optional'
|
|
777
783
|
},
|
|
778
784
|
'substitutes 12-24 if tuesday then previous monday': {
|
|
779
|
-
|
|
780
|
-
en: 'Bridge Day',
|
|
781
|
-
es: 'Feriado Puente Turístico'
|
|
782
|
-
}
|
|
785
|
+
_name: 'Bridge Day'
|
|
783
786
|
},
|
|
784
787
|
'12-25': {
|
|
785
788
|
_name: '12-25'
|
|
786
789
|
},
|
|
787
|
-
'substitutes 12-25 if thursday then next friday': {
|
|
788
|
-
|
|
789
|
-
en: 'Bridge Day',
|
|
790
|
-
es: 'Feriado Puente Turístico'
|
|
791
|
-
}
|
|
790
|
+
'substitutes 12-25 if tuesday then previous monday if thursday then next friday': {
|
|
791
|
+
_name: 'Bridge Day'
|
|
792
792
|
},
|
|
793
793
|
'12-31 12:00': {
|
|
794
794
|
_name: '12-31',
|
|
@@ -16659,7 +16659,7 @@ export const data = {
|
|
|
16659
16659
|
en: 'Matariki'
|
|
16660
16660
|
}
|
|
16661
16661
|
},
|
|
16662
|
-
'2036-07-
|
|
16662
|
+
'2036-07-18': {
|
|
16663
16663
|
name: {
|
|
16664
16664
|
en: 'Matariki'
|
|
16665
16665
|
}
|
|
@@ -21330,7 +21330,7 @@ export const data = {
|
|
|
21330
21330
|
days: {
|
|
21331
21331
|
'3rd monday in February': {
|
|
21332
21332
|
name: {
|
|
21333
|
-
en: '
|
|
21333
|
+
en: "Presidents' Day"
|
|
21334
21334
|
}
|
|
21335
21335
|
},
|
|
21336
21336
|
'2nd monday in October': false,
|
|
@@ -24976,6 +24976,12 @@ export const data = {
|
|
|
24976
24976
|
vi: 'Tổng khởi nghĩa'
|
|
24977
24977
|
}
|
|
24978
24978
|
},
|
|
24979
|
+
'Bridge Day': {
|
|
24980
|
+
name: {
|
|
24981
|
+
en: 'Bridge Day',
|
|
24982
|
+
es: 'Feriado Puente Turístico'
|
|
24983
|
+
}
|
|
24984
|
+
},
|
|
24979
24985
|
substitutes: {
|
|
24980
24986
|
name: {
|
|
24981
24987
|
en: 'substitute day',
|