Skip to content

Commit

Permalink
Fix polish holidays
Browse files Browse the repository at this point in the history
  • Loading branch information
srsbiz committed Jan 21, 2024
1 parent 6b67761 commit b3d2861
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 25 deletions.
3 changes: 1 addition & 2 deletions src/Countries/Poland.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected function allHolidays(int $year): array
'Wszystkich Świętych' => '11-01',
'Święto Niepodległości' => '11-11',
'Boże Narodzenie' => '12-25',
'Boże Narodzenie' => '12-26',
'Drugi Dzień Bożego Narodzenia' => '12-26',
], $this->variableHolidays($year));
}

Expand All @@ -37,7 +37,6 @@ protected function variableHolidays(int $year): array
'Poniedziałek Wielkanocny' => $easter->addDay(),
'Zielone Świątki' => $easter->addWeeks(7),
'Boże Ciało' => $easter->addDays(60),

];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,51 +4,51 @@
"date": "2024-01-01"
},
{
"name": "Święto Trzech Króli",
"name": "\u015awi\u0119to Trzech Kr\u00f3li",
"date": "2024-01-06"
},
{
"name": "Święto Pracy",
"date": "2024-05-01"
"name": "Wielkanoc",
"date": "2024-03-31"
},
{
"name": "Święto Konstytucji 3 Maja",
"date": "2024-05-03"
"name": "Poniedzia\u0142ek Wielkanocny",
"date": "2024-04-01"
},
{
"name": "Święto Wojska Polskiego, Wniebowzięcie Najświętszej Maryi Panny",
"date": "2024-08-15"
"name": "\u015awi\u0119to Pracy",
"date": "2024-05-01"
},
{
"name": "Wszystkich Świętych",
"date": "2024-11-01"
"name": "\u015awi\u0119to Konstytucji 3 Maja",
"date": "2024-05-03"
},
{
"name": "Święto Niepodległości",
"date": "2024-11-11"
"name": "Zielone \u015awi\u0105tki",
"date": "2024-05-19"
},
{
"name": "Boże Narodzenie",
"date": "2024-12-25"
"name": "Bo\u017ce Cia\u0142o",
"date": "2024-05-30"
},
{
"name": "Boże Narodzenie",
"date": "2024-12-26"
"name": "\u015awi\u0119to Wojska Polskiego, Wniebowzi\u0119cie Naj\u015bwi\u0119tszej Maryi Panny",
"date": "2024-08-15"
},
{
"name": "Wielkanoc",
"date": "2024-03-31"
"name": "Wszystkich \u015awi\u0119tych",
"date": "2024-11-01"
},
{
"name": "Poniedziałek Wielkanocny",
"date": "2024-04-01"
"name": "\u015awi\u0119to Niepodleg\u0142o\u015bci",
"date": "2024-11-11"
},
{
"name": "Zielone Świątki",
"date": "2024-05-19"
"name": "Bo\u017ce Narodzenie",
"date": "2024-12-25"
},
{
"name": "Boże Ciało",
"date": "2024-05-30"
"name": "Drugi Dzie\u0144 Bo\u017cego Narodzenia",
"date": "2024-12-26"
}
]

0 comments on commit b3d2861

Please sign in to comment.