forked from kodie/moment-holiday
-
Notifications
You must be signed in to change notification settings - Fork 0
/
germany.js
98 lines (95 loc) · 2.28 KB
/
germany.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//! moment-holiday.js locale configuration
//! locale : Germany
//! author : Kodie Grantham : https://github.com/kodie
/* regions :
BB : Brandenburg
BW : Baden-Württemberg
BY : Bayern
HE : Hessen
MV : Mecklenburg-Vorpommern
NW : Nordrhein-Westfalen
RP : Rheinland-Pfalz
SN : Sachsen
SL : Saarland
ST : Sachsen-Anhalt
TH : Thüringen
*/
(function() {
var moment = (typeof require !== 'undefined' && require !== null) && !require.amd ? require('moment') : this.moment;
moment.holidays.germany = {
"Neujahrstag": {
date: '1/1',
keywords: ['new', 'year']
},
"Karfreitag": {
date: 'easter-2',
keywords: ['good', 'friday']
},
"Ostersonntag": {
date: 'easter',
keywords: ['easter'],
keywords_n: ['monday'],
regions: ['bb']
},
"Ostermontag": {
date: 'easter+1',
keywords: ['easter', 'monday']
},
"Heilige Drei Könige": {
date: '1/6',
keywords: ['konige'],
regions: ['bw', 'by', 'st']
},
"Maifeiertag": {
date: '5/1'
},
"Christi Himmelfahrt": {
date: 'easter+39',
kaywords: ['ascension']
},
"Pfingstsonntag": {
date: 'easter+49',
keywords: ['pentecost'],
regions: ['bb']
},
"Pfingstmontag": {
date: 'easter+50',
keywords: ['whit', 'monday']
},
"Fronleichnam": {
date: 'easter+60',
keywords: ['corpus', 'christi'],
regions: ['bw', 'by', 'he', 'nw', 'rp', 'sl']
},
"Mariä Himmelfahrt": {
date: '8/15',
keywords: ['maria'],
regions: ['sl']
},
"Tag der deutschen Einheit": {
date: '10/3'
},
"Reformationstag": {
date: '10/31',
regions: ['bb', 'mv', 'sn', 'st', 'th']
},
"Allerheiligen": {
date: '11/1',
regions: ['bw', 'by', 'nw', 'rp', 'sl']
},
"Buß- und Bettag": {
date: '11/(3,[17])',
keywords: ['bub'],
regions: ['sn']
},
"Weihnachten": {
date: '12/24',
keywords: ['christmas']
},
"Zweiter Weihnachtsfeiertag": {
date: '12/26',
keywords_y: ['zweiter']
}
};
if ((typeof module !== 'undefined' && module !== null ? module.exports : void 0) != null) { module.exports = moment; }
}).call(this);