-
Notifications
You must be signed in to change notification settings - Fork 136
/
tn.yaml
83 lines (82 loc) · 1.64 KB
/
tn.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
# Tunisian holiday definitions for the Ruby Holiday gem.
#
# by achr3f https://github.com/achr3f
#
# Updated 12/23/2016
# Sources:
# - https://fr.wikipedia.org/wiki/Fêtes_et_jours_fériés_en_Tunisie#F.C3.AAtes_officielles
#
---
months:
1:
- name: Jour de l'an
regions: [tn]
mday: 1
- name: Fête de la Révolution et de la Jeunesse
regions: [tn]
mday: 14
3:
- name: Fête de l'Indépendance
regions: [tn]
mday: 20
4:
- name: Journée des Martyrs
regions: [tn]
mday: 9
5:
- name: Fête du travail
regions: [tn]
mday: 1
7:
- name: Fête de la République
regions: [tn]
mday: 25
8:
- name: Fête de la Femme et de la Famille
regions: [tn]
mday: 13
10:
- name: Fête de l'Évacuation
regions: [tn]
mday: 15
tests:
- given:
date: '2016-01-01'
regions: ["tn"]
expect:
name: "Jour de l'an"
- given:
date: '2016-01-14'
regions: ["tn"]
expect:
name: "Fête de la Révolution et de la Jeunesse"
- given:
date: '2016-03-20'
regions: ["tn"]
expect:
name: "Fête de l'Indépendance"
- given:
date: '2016-04-09'
regions: ["tn"]
expect:
name: "Journée des Martyrs"
- given:
date: '2016-05-01'
regions: ["tn"]
expect:
name: "Fête du travail"
- given:
date: '2016-07-25'
regions: ["tn"]
expect:
name: "Fête de la République"
- given:
date: '2016-08-13'
regions: ["tn"]
expect:
name: "Fête de la Femme et de la Famille"
- given:
date: '2016-10-15'
regions: ["tn"]
expect:
name: "Fête de l'Évacuation"