forked from kodie/moment-holiday
-
Notifications
You must be signed in to change notification settings - Fork 0
/
united_states.js
94 lines (91 loc) · 2.16 KB
/
united_states.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
//! moment-holiday.js locale configuration
//! locale : United States
//! author : Kodie Grantham : https://github.com/kodie
(function() {
var moment = (typeof require !== 'undefined' && require !== null) && !require.amd ? require('moment') : this.moment;
moment.holidays.united_states = {
"New Year's Day": {
date: '1/1',
keywords_n: ['eve']
},
"Martin Luther King Jr. Day": {
date: '1/(1,3)',
keywords: ['mlk']
},
"Valentine's Day": {
date: '2/14'
},
"Washington's Birthday": {
date: '2/(1,3)',
keywords: ['george', 'president', 'day']
},
"Saint Patrick's Day": {
date: '3/17',
keywords: ['st[\\s\\.]', 'paddy', 'patty']
},
"Good Friday": {
date: 'easter-2',
keywords_y: ['good', 'friday']
},
"Easter Sunday": {
date: 'easter',
keywords_y: ['easter'],
keywords: ['sunday']
},
"Memorial Day": {
date: '5/(1,-1)'
},
"Mother's Day": {
date: '5/(0,2)',
keywords: ['mom']
},
"Father's Day": {
date: '6/(0,3)',
keywords: ['dad']
},
"Independence Day": {
date: '7/4',
keywords: ['4th', 'fourth', 'july']
},
"Labor Day": {
date: '9/(1,1)',
keywords: ['labour']
},
"Columbus Day": {
date: '10/(1,2)',
keywords: ['christopher']
},
"Halloween": {
date: '10/31'
},
"Veteran's Day": {
date: '11/11',
keywords: ['vet']
},
"Thanksgiving Day": {
date: '11/(4,4)',
keywords: ['thanks', 'turkey'],
keywords_n: ['after']
},
"Day after Thanksgiving": {
date: '11/(5,4)',
keywords: ['thanks', 'turkey'],
keywords_y: ['after']
},
"Christmas Eve": {
date: '12/24',
keywords: ['christ', 'x-?mas'],
keywords_y: ['eve']
},
"Christmas Day": {
date: '12/25',
keywords: ['christ', 'x-?mas'],
keywords_n: ['eve']
},
"New Year's Eve": {
date: '12/31',
keywords_y: ['year', 'eve']
}
};
if ((typeof module !== 'undefined' && module !== null ? module.exports : void 0) != null) { module.exports = moment; }
}).call(this);