Skip to content

Commit

Permalink
feat(CI): add republic of côte d'ivoire
Browse files Browse the repository at this point in the history
  • Loading branch information
commenthol committed Mar 28, 2021
1 parent 5ca2753 commit 2f0fc20
Show file tree
Hide file tree
Showing 13 changed files with 1,488 additions and 38 deletions.
38 changes: 0 additions & 38 deletions data/countries/CI.todo

This file was deleted.

71 changes: 71 additions & 0 deletions data/countries/CI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
holidays:
# @attrib https://en.wikipedia.org/wiki/Public_holidays_in_Ivory_Coast
CI:
names:
fr: République de Côte d'Ivoire
en: Republic of Côte d'Ivoire
langs:
- fr
- en
zones:
- Africa/Abidjan
dayoff: sunday
days:
01-01:
_name: 01-01
easter 1:
_name: easter 1
05-01:
_name: 05-01
easter 39:
_name: easter 39
easter 50:
_name: easter 50
08-07 since 1960:
_name: Independence Day
08-15:
_name: 08-15
11-01:
_name: 11-01
11-15 since 1996:
name:
en: National Peace Day
12-25:
_name: 12-25
12 Rabi al-awwal:
_name: 12 Rabi al-awwal
27 Ramadan:
_name: 27 Ramadan
1 Shawwal:
_name: 1 Shawwal
10 Dhu al-Hijjah:
_name: 10 Dhu al-Hijjah
# states:
# AB:
# name: Abidjan
# BS:
# name: Bas-Sassandra
# CM:
# name: Comoé
# DN:
# name: Denguélé
# GD:
# name: Gôh-Djiboua
# LC:
# name: Lacs
# LG:
# name: Lagunes
# MG:
# name: Montagnes
# SM:
# name: Sassandra-Marahoué
# SV:
# name: Savanes
# VB:
# name: Vallée du Bandama
# WR:
# name: Woroba
# YM:
# name: Yamoussoukro
# ZZ:
# name: Zanzan
137 changes: 137 additions & 0 deletions test/fixtures/CI-2015.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
[
{
"date": "2015-01-01 00:00:00",
"start": "2015-01-01T00:00:00.000Z",
"end": "2015-01-02T00:00:00.000Z",
"name": "Nouvel An",
"type": "public",
"rule": "01-01",
"_weekday": "Thu"
},
{
"date": "2015-01-03 00:00:00 -0600",
"start": "2015-01-02T18:00:00.000Z",
"end": "2015-01-03T18:00:00.000Z",
"name": "Mawlid",
"type": "public",
"rule": "12 Rabi al-awwal",
"_weekday": "Sat"
},
{
"date": "2015-04-06 00:00:00",
"start": "2015-04-06T00:00:00.000Z",
"end": "2015-04-07T00:00:00.000Z",
"name": "Lundi de Pâques",
"type": "public",
"rule": "easter 1",
"_weekday": "Mon"
},
{
"date": "2015-05-01 00:00:00",
"start": "2015-05-01T00:00:00.000Z",
"end": "2015-05-02T00:00:00.000Z",
"name": "Fête du travail",
"type": "public",
"rule": "05-01",
"_weekday": "Fri"
},
{
"date": "2015-05-14 00:00:00",
"start": "2015-05-14T00:00:00.000Z",
"end": "2015-05-15T00:00:00.000Z",
"name": "Ascension",
"type": "public",
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2015-05-25 00:00:00",
"start": "2015-05-25T00:00:00.000Z",
"end": "2015-05-26T00:00:00.000Z",
"name": "Lundi de Pentecôte",
"type": "public",
"rule": "easter 50",
"_weekday": "Mon"
},
{
"date": "2015-07-14 00:00:00 -0600",
"start": "2015-07-13T18:00:00.000Z",
"end": "2015-07-14T18:00:00.000Z",
"name": "Laylat al-Qadr",
"type": "public",
"rule": "27 Ramadan",
"_weekday": "Tue"
},
{
"date": "2015-07-17 00:00:00 -0600",
"start": "2015-07-16T18:00:00.000Z",
"end": "2015-07-17T18:00:00.000Z",
"name": "Fête de fin du Ramadan",
"type": "public",
"rule": "1 Shawwal",
"_weekday": "Fri"
},
{
"date": "2015-08-07 00:00:00",
"start": "2015-08-07T00:00:00.000Z",
"end": "2015-08-08T00:00:00.000Z",
"name": "Jour de l'Indépendance",
"type": "public",
"rule": "08-07 since 1960",
"_weekday": "Fri"
},
{
"date": "2015-08-15 00:00:00",
"start": "2015-08-15T00:00:00.000Z",
"end": "2015-08-16T00:00:00.000Z",
"name": "Assomption",
"type": "public",
"rule": "08-15",
"_weekday": "Sat"
},
{
"date": "2015-09-23 00:00:00 -0600",
"start": "2015-09-22T18:00:00.000Z",
"end": "2015-09-23T18:00:00.000Z",
"name": "Fête du mouton",
"type": "public",
"rule": "10 Dhu al-Hijjah",
"_weekday": "Wed"
},
{
"date": "2015-11-01 00:00:00",
"start": "2015-11-01T00:00:00.000Z",
"end": "2015-11-02T00:00:00.000Z",
"name": "Toussaint",
"type": "public",
"rule": "11-01",
"_weekday": "Sun"
},
{
"date": "2015-11-15 00:00:00",
"start": "2015-11-15T00:00:00.000Z",
"end": "2015-11-16T00:00:00.000Z",
"name": "National Peace Day",
"type": "public",
"rule": "11-15 since 1996",
"_weekday": "Sun"
},
{
"date": "2015-12-23 00:00:00 -0600",
"start": "2015-12-22T18:00:00.000Z",
"end": "2015-12-23T18:00:00.000Z",
"name": "Mawlid",
"type": "public",
"rule": "12 Rabi al-awwal",
"_weekday": "Wed"
},
{
"date": "2015-12-25 00:00:00",
"start": "2015-12-25T00:00:00.000Z",
"end": "2015-12-26T00:00:00.000Z",
"name": "Noël",
"type": "public",
"rule": "12-25",
"_weekday": "Fri"
}
]
128 changes: 128 additions & 0 deletions test/fixtures/CI-2016.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
[
{
"date": "2016-01-01 00:00:00",
"start": "2016-01-01T00:00:00.000Z",
"end": "2016-01-02T00:00:00.000Z",
"name": "Nouvel An",
"type": "public",
"rule": "01-01",
"_weekday": "Fri"
},
{
"date": "2016-03-28 00:00:00",
"start": "2016-03-28T00:00:00.000Z",
"end": "2016-03-29T00:00:00.000Z",
"name": "Lundi de Pâques",
"type": "public",
"rule": "easter 1",
"_weekday": "Mon"
},
{
"date": "2016-05-01 00:00:00",
"start": "2016-05-01T00:00:00.000Z",
"end": "2016-05-02T00:00:00.000Z",
"name": "Fête du travail",
"type": "public",
"rule": "05-01",
"_weekday": "Sun"
},
{
"date": "2016-05-05 00:00:00",
"start": "2016-05-05T00:00:00.000Z",
"end": "2016-05-06T00:00:00.000Z",
"name": "Ascension",
"type": "public",
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2016-05-16 00:00:00",
"start": "2016-05-16T00:00:00.000Z",
"end": "2016-05-17T00:00:00.000Z",
"name": "Lundi de Pentecôte",
"type": "public",
"rule": "easter 50",
"_weekday": "Mon"
},
{
"date": "2016-07-02 00:00:00 -0600",
"start": "2016-07-01T18:00:00.000Z",
"end": "2016-07-02T18:00:00.000Z",
"name": "Laylat al-Qadr",
"type": "public",
"rule": "27 Ramadan",
"_weekday": "Sat"
},
{
"date": "2016-07-06 00:00:00 -0600",
"start": "2016-07-05T18:00:00.000Z",
"end": "2016-07-06T18:00:00.000Z",
"name": "Fête de fin du Ramadan",
"type": "public",
"rule": "1 Shawwal",
"_weekday": "Wed"
},
{
"date": "2016-08-07 00:00:00",
"start": "2016-08-07T00:00:00.000Z",
"end": "2016-08-08T00:00:00.000Z",
"name": "Jour de l'Indépendance",
"type": "public",
"rule": "08-07 since 1960",
"_weekday": "Sun"
},
{
"date": "2016-08-15 00:00:00",
"start": "2016-08-15T00:00:00.000Z",
"end": "2016-08-16T00:00:00.000Z",
"name": "Assomption",
"type": "public",
"rule": "08-15",
"_weekday": "Mon"
},
{
"date": "2016-09-11 00:00:00 -0600",
"start": "2016-09-10T18:00:00.000Z",
"end": "2016-09-11T18:00:00.000Z",
"name": "Fête du mouton",
"type": "public",
"rule": "10 Dhu al-Hijjah",
"_weekday": "Sun"
},
{
"date": "2016-11-01 00:00:00",
"start": "2016-11-01T00:00:00.000Z",
"end": "2016-11-02T00:00:00.000Z",
"name": "Toussaint",
"type": "public",
"rule": "11-01",
"_weekday": "Tue"
},
{
"date": "2016-11-15 00:00:00",
"start": "2016-11-15T00:00:00.000Z",
"end": "2016-11-16T00:00:00.000Z",
"name": "National Peace Day",
"type": "public",
"rule": "11-15 since 1996",
"_weekday": "Tue"
},
{
"date": "2016-12-11 00:00:00 -0600",
"start": "2016-12-10T18:00:00.000Z",
"end": "2016-12-11T18:00:00.000Z",
"name": "Mawlid",
"type": "public",
"rule": "12 Rabi al-awwal",
"_weekday": "Sun"
},
{
"date": "2016-12-25 00:00:00",
"start": "2016-12-25T00:00:00.000Z",
"end": "2016-12-26T00:00:00.000Z",
"name": "Noël",
"type": "public",
"rule": "12-25",
"_weekday": "Sun"
}
]
Loading

0 comments on commit 2f0fc20

Please sign in to comment.