diff --git a/src/Countries/Country.php b/src/Countries/Country.php index 2c5547021..9416ca65e 100644 --- a/src/Countries/Country.php +++ b/src/Countries/Country.php @@ -42,7 +42,8 @@ public static function make(): static protected function easter(string $year): CarbonImmutable { - $easter = CarbonImmutable::createFromFormat('Y-m-d', "{$year}-03-21"); + $easter = CarbonImmutable::createFromFormat('Y-m-d', "{$year}-03-21") + ->startOfDay(); return $easter->addDays(easter_days($year)); } diff --git a/src/Countries/Venezuela.php b/src/Countries/Venezuela.php index 01edb601f..10082f44d 100644 --- a/src/Countries/Venezuela.php +++ b/src/Countries/Venezuela.php @@ -33,8 +33,8 @@ protected function variableHolidays(int $year): array $easter = $this->easter($year); return [ - 'Lunes de Carnaval' => $easter->subDays(47), - 'Martes de Carnaval' => $easter->subDays(46), + 'Lunes de Carnaval' => $easter->subDays(48), + 'Martes de Carnaval' => $easter->subDays(42), 'Jueves Santo' => $easter->subDays(3), 'Viernes Santo' => $easter->subDays(2), ];