I am using this code:
Carbon\Carbon::parse($quotation[0]->created_at)->format('d M Y')
The output is:
10 Mar 2016
I want:
10 March 2016
I have looked at the Carbon docs and googled high and low, and I can not find it anywhere.
I am using this code:
Carbon\Carbon::parse($quotation[0]->created_at)->format('d M Y')
The output is:
10 Mar 2016
I want:
10 March 2016
I have looked at the Carbon docs and googled high and low, and I can not find it anywhere.
This is how it should be used, if you wish to have the full month name in the date:
{{\Carbon\Carbon::parse($client[0]->event_date_from)->format('d F Y')}}
Use f instead of M in the format function.