Skip to content

Commit

Permalink
Update holiday names to match the Public Holidays Act in Kenya
Browse files Browse the repository at this point in the history
  • Loading branch information
vamuigua committed Oct 10, 2024
1 parent 7ccdea3 commit 4cc92e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions src/Countries/Kenya.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ public function countryCode(): string
protected function allHolidays(int $year): array
{
return array_merge([
"New Year's" => '01-01',
'Labour' => '05-01',
'Madaraka' => '06-01',
'Mazingira' => '10-10',
'Mashujaa' => '10-20',
'Jamhuri' => '12-01',
"New Year's Day" => '01-01',
'Labour day' => '05-01',
'Madaraka Day' => '06-01',
'Mazingira Day' => '10-10',
'Mashujaa Day' => '10-20',
'Jamhuri Day' => '12-01',
'Christmas' => '12-25',
'Boxing' => '12-26',
'Boxing Day' => '12-26',
], $this->variableHolidays($year));
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"name": "New Year's",
"name": "New Year's Day",
"date": "2024-01-01"
},
{
Expand All @@ -12,31 +12,31 @@
"date": "2024-04-01"
},
{
"name": "Labour",
"name": "Labour day",
"date": "2024-05-01"
},
{
"name": "Madaraka",
"name": "Madaraka Day",
"date": "2024-06-01"
},
{
"name": "Mazingira",
"name": "Mazingira Day",
"date": "2024-10-10"
},
{
"name": "Mashujaa",
"name": "Mashujaa Day",
"date": "2024-10-20"
},
{
"name": "Jamhuri",
"name": "Jamhuri Day",
"date": "2024-12-01"
},
{
"name": "Christmas",
"date": "2024-12-25"
},
{
"name": "Boxing",
"name": "Boxing Day",
"date": "2024-12-26"
}
]

0 comments on commit 4cc92e3

Please sign in to comment.