forked from holidays/definitions
-
Notifications
You must be signed in to change notification settings - Fork 5
/
ma.yaml
96 lines (95 loc) · 1.92 KB
/
ma.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
# Morocco holiday (incomplete)definitions for the Ruby Holiday gem.
#
# Updated: 2013-07-01.
# Some dates in Islamic Calendar are missing.
# Sources:
# - http://en.wikipedia.org/wiki/Public_holidays_in_Morocco
---
months:
1:
- name: Ras l' âm
regions: [ma]
mday: 1
- name: Takdim watikat al-istiqlal
regions: [ma]
mday: 11
5:
- name: Eid Ash-Shughl
regions: [ma]
mday: 1
7:
- name: Eid Al-Ârch
regions: [ma]
mday: 30
8:
- name: Zikra Oued Ed-Dahab
regions: [ma]
mday: 14
- name: Thawrat al malik wa shâab
regions: [ma]
mday: 20
- name: Eid Al Milad
regions: [ma]
mday: 21
11:
- name: Eid Al Massira Al Khadra
regions: [ma]
mday: 6
- name: Eid Al Istiqulal
regions: [ma]
mday: 18
tests:
- given:
date: '2007-01-01'
regions: ["ma"]
options: ["informal"]
expect:
name: "Ras l' âm"
- given:
date: '2007-01-11'
regions: ["ma"]
options: ["informal"]
expect:
name: "Takdim watikat al-istiqlal"
- given:
date: '2007-05-01'
regions: ["ma"]
options: ["informal"]
expect:
name: "Eid Ash-Shughl"
- given:
date: '2007-07-30'
regions: ["ma"]
options: ["informal"]
expect:
name: "Eid Al-Ârch"
- given:
date: '2007-08-14'
regions: ["ma"]
options: ["informal"]
expect:
name: "Zikra Oued Ed-Dahab"
- given:
date: '2007-08-20'
regions: ["ma"]
options: ["informal"]
expect:
name: "Thawrat al malik wa shâab"
- given:
date: '2007-08-21'
regions: ["ma"]
options: ["informal"]
expect:
name: "Eid Al Milad"
- given:
date: '2007-11-06'
regions: ["ma"]
options: ["informal"]
expect:
name: "Eid Al Massira Al Khadra"
- given:
date: '2007-11-18'
regions: ["ma"]
options: ["informal"]
expect:
name: "Eid Al Istiqulal"