📅  最后修改于: 2022-03-11 14:54:20.126000             🧑  作者: Mango
Because Carbon does not understand d/m/Y format out of the box. If you use
slashes it should be mm/dd/yyyy in that case. d/m/Y is not an official date
format.
You can use :
{{ Carbon\Carbon::createFromFormat('d/m/Y', $holiday->holiday_date)->format('d-m-Y') }}