-
Notifications
You must be signed in to change notification settings - Fork 136
/
mt_en.yaml
131 lines (130 loc) · 2.85 KB
/
mt_en.yaml
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# Maltese holiday definitions for the Ruby Holiday gem. In English.
#
# Updated: 2017-06-08
# Sources:
# - https://en.wikipedia.org/wiki/Public_holidays_in_Malta
---
months:
0:
- name: Good Friday # Il-Ġimgħa l-Kbira
regions: [mt_en]
function: easter(year)
function_modifier: -2
1:
- name: New Year's Day # L-Ewwel tas-Sena
regions: [mt_en]
mday: 1
2:
- name: Feast of Saint Paul's Shipwreck in Malta # Nawfraġju ta' San Pawl
regions: [mt_en]
mday: 10
3:
- name: Feast of Saint Joseph # San Ġużepp
regions: [mt_en]
mday: 19
- name: Freedom Day # Jum il-Ħelsien
regions: [mt_en]
mday: 31
5:
- name: Worker's Day # Jum il-Ħaddiem
regions: [mt_en]
mday: 1
6:
- name: Sette Giugno
regions: [mt_en]
mday: 7
- name: Feast of Saint Peter & Saint Paul # L-Imnarja
regions: [mt_en]
mday: 29
8:
- name: Feast of the Assumption of Our Lady # Santa Marija
regions: [mt_en]
mday: 15
9:
- name: Victory Day # Jum il-Vitorja
regions: [mt_en]
mday: 8
- name: Independence Day # Jum l-Indipendenza
regions: [mt_en]
mday: 21
12:
- name: Feast of the Immaculate Conception # Il-Kunċizzjoni
regions: [mt_en]
mday: 8
- name: Republic Day # Jum ir-Repubblika
regions: [mt_en]
mday: 13
- name: Christmas Day # Il-Milied
regions: [mt_en]
mday: 25
tests:
- given:
date: '2017-1-1'
regions: ["mt_en"]
expect:
name: "New Year's Day"
- given:
date: '2017-2-10'
regions: ["mt_en"]
expect:
name: "Feast of Saint Paul's Shipwreck in Malta"
- given:
date: '2017-3-19'
regions: ["mt_en"]
expect:
name: "Feast of Saint Joseph"
- given:
date: '2017-3-31'
regions: ["mt_en"]
expect:
name: "Freedom Day"
- given:
date: '2017-5-1'
regions: ["mt_en"]
expect:
name: "Worker's Day"
- given:
date: '2017-6-7'
regions: ["mt_en"]
expect:
name: "Sette Giugno"
- given:
date: '2017-6-29'
regions: ["mt_en"]
expect:
name: "Feast of Saint Peter & Saint Paul"
- given:
date: '2017-8-15'
regions: ["mt_en"]
expect:
name: "Feast of the Assumption of Our Lady"
- given:
date: '2017-9-8'
regions: ["mt_en"]
expect:
name: "Victory Day"
- given:
date: '2017-9-21'
regions: ["mt_en"]
expect:
name: "Independence Day"
- given:
date: '2017-12-8'
regions: ["mt_en"]
expect:
name: "Feast of the Immaculate Conception"
- given:
date: '2017-12-13'
regions: ["mt_en"]
expect:
name: "Republic Day"
- given:
date: '2017-12-25'
regions: ["mt_en"]
expect:
name: "Christmas Day"
- given:
date: ['2017-4-14', '2018-3-30', '2019-4-19']
regions: ["mt_en"]
expect:
name: "Good Friday"