diff --git a/src/Countries/Denmark.php b/src/Countries/Denmark.php index ee68d1d74..3d4e091eb 100644 --- a/src/Countries/Denmark.php +++ b/src/Countries/Denmark.php @@ -27,10 +27,10 @@ protected function variableHolidays(int $year): array $easter = $this->easter($year); $holidays = [ - 'Påskedag' => $easter->addDay(), 'Skærtorsdag' => $easter->subDays(3), 'Langfredag' => $easter->subDays(2), - 'Anden Påskedag' => $easter->addDays(2), + 'Påskedag' => $easter, + 'Anden Påskedag' => $easter->addDay(), 'Kristi Himmelfartsdag' => $easter->addDays(39), 'Pinse' => $easter->addDays(49), 'Anden Pinsedag' => $easter->addDays(50), diff --git a/tests/.pest/snapshots/Countries/DenmarkTest/it_can_calculate_danish_holidays.snap b/tests/.pest/snapshots/Countries/DenmarkTest/it_can_calculate_danish_holidays.snap index b19f23c2d..705cd12ee 100644 --- a/tests/.pest/snapshots/Countries/DenmarkTest/it_can_calculate_danish_holidays.snap +++ b/tests/.pest/snapshots/Countries/DenmarkTest/it_can_calculate_danish_holidays.snap @@ -13,11 +13,11 @@ }, { "name": "P\u00e5skedag", - "date": "2024-04-01" + "date": "2024-03-31" }, { "name": "Anden P\u00e5skedag", - "date": "2024-04-02" + "date": "2024-04-01" }, { "name": "Kristi Himmelfartsdag",