This question already has an answer here:
I am creating a DatePeriod
and I want to show the names of months and days in French:
$timeZoneParis = new DateTimeZone('Europe/Paris');
$dateDebutCalendrier = new DateTime('2018-11-01', $timeZoneParis);
$dateFinCalendrier = new DateTime('2018-11-31', $timeZoneParis);
$period = new DatePeriod($dateDebutCalendrier,new DateInterval('P1D'),$dateFinCalendrier);
Expected result:
Janvier, Fevrier...
Actual result:
January, February...
</div>