-
Notifications
You must be signed in to change notification settings - Fork 136
/
mt_mt.yaml
131 lines (130 loc) · 2.79 KB
/
mt_mt.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 Maltese.
#
# Updated: 2017-06-08
# Sources:
# - https://en.wikipedia.org/wiki/Public_holidays_in_Malta
---
months:
0:
- name: Il-Ġimgħa l-Kbira # Good Friday
regions: [mt_mt]
function: easter(year)
function_modifier: -2
1:
- name: L-Ewwel tas-Sena # New Year's Day
regions: [mt_mt]
mday: 1
2:
- name: Nawfraġju ta' San Pawl # Feast of Saint Paul's Shipwreck in Malta
regions: [mt_mt]
mday: 10
3:
- name: San Ġużepp # Feast of Saint Joseph
regions: [mt_mt]
mday: 19
- name: Jum il-Ħelsien # Freedom Day
regions: [mt_mt]
mday: 31
5:
- name: Jum il-Ħaddiem # Worker's Day
regions: [mt_mt]
mday: 1
6:
- name: Sette Giugno
regions: [mt_mt]
mday: 7
- name: L-Imnarja # Feast of Saint Peter & Saint Paul
regions: [mt_mt]
mday: 29
8:
- name: Santa Marija # Feast of the Assumption of Our Lady
regions: [mt_mt]
mday: 15
9:
- name: Jum il-Vitorja # Victory Day
regions: [mt_mt]
mday: 8
- name: Jum l-Indipendenza # Independence Day
regions: [mt_mt]
mday: 21
12:
- name: Il-Kunċizzjoni # Feast of the Immaculate Conception
regions: [mt_mt]
mday: 8
- name: Jum ir-Repubblika # Republic Day
regions: [mt_mt]
mday: 13
- name: Il-Milied # Christmas Day
regions: [mt_mt]
mday: 25
tests:
- given:
date: '2017-1-1'
regions: ["mt_mt"]
expect:
name: "L-Ewwel tas-Sena"
- given:
date: '2017-2-10'
regions: ["mt_mt"]
expect:
name: "Nawfraġju ta' San Pawl"
- given:
date: '2017-3-19'
regions: ["mt_mt"]
expect:
name: "San Ġużepp"
- given:
date: '2017-3-31'
regions: ["mt_mt"]
expect:
name: "Jum il-Ħelsien"
- given:
date: '2017-5-1'
regions: ["mt_mt"]
expect:
name: "Jum il-Ħaddiem"
- given:
date: '2017-6-7'
regions: ["mt_mt"]
expect:
name: "Sette Giugno"
- given:
date: '2017-6-29'
regions: ["mt_mt"]
expect:
name: "L-Imnarja"
- given:
date: '2017-8-15'
regions: ["mt_mt"]
expect:
name: "Santa Marija"
- given:
date: '2017-9-8'
regions: ["mt_mt"]
expect:
name: "Jum il-Vitorja"
- given:
date: '2017-9-21'
regions: ["mt_mt"]
expect:
name: "Jum l-Indipendenza"
- given:
date: '2017-12-8'
regions: ["mt_mt"]
expect:
name: "Il-Kunċizzjoni"
- given:
date: '2017-12-13'
regions: ["mt_mt"]
expect:
name: "Jum ir-Repubblika"
- given:
date: '2017-12-25'
regions: ["mt_mt"]
expect:
name: "Il-Milied"
- given:
date: ['2017-4-14', '2018-3-30', '2019-4-19']
regions: ["mt_mt"]
expect:
name: "Il-Ġimgħa l-Kbira"