RafaelMunoznl
2 months ago
352
7
Laravel

Call to undefined method Carbon\Carbon::isoFormat()

Posted 2 months ago by RafaelMunoznl

It might sound stupid, but is a fact:

I am building an App at home. I have tested it in two different Windows computers. It works perfectly.

The same app in a MAC computer throws following errors:

Call to undefined method Carbon\Carbon::isoFormat()

then I change isoFormat against just format() and a new error arises:

Method Illuminate\Support\Carbon::translatedFormat does not exist.

I do the same operation changing all those functions against plain format() and the app starts.

However, since I am working with German date format and 'locale' => 'de', the app does not work properly.

Is there any place or config that I have to change

Please sign in or create an account to participate in this conversation.