Look for this discussion: https://laracasts.com/discuss/channels/general-discussion/default-carbon-format
Feb 17, 2017
5
Level 2
Set a default date format for carbon in Laravel
Hi all,
The title pretty much sums up the question: how to define a default date format that carbon uses in Laravel?
Default is now Y-m-d, but I'd like to have it in euro style: d-m-Y and it would be nice if I wouldn't have to force that at each carbon instance.
Thanks!
Please or to participate in this conversation.