-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Closed
Description
- Laravel Version: 5.6.25
- PHP Version: 7.2.7
- Database Driver & Version: mysql 5.7
Description:
I need some carbon methods, but this methos aren't available.
I tried update carbon, but...
Problem 1
- laravel/framework v5.6.25 requires nesbot/carbon 1.25.* -> satisfiable by nesbot/carbon[1.25.0] but these conflict with your requirements or minimum-stability.
- laravel/framework v5.6.25 requires nesbot/carbon 1.25.* -> satisfiable by nesbot/carbon[1.25.0] but these conflict with your requirements or minimum-stability.
- laravel/framework v5.6.25 requires nesbot/carbon 1.25.* -> satisfiable by nesbot/carbon[1.25.0] but these conflict with your requirements or minimum-stability.
- Installation request for laravel/framework (locked at v5.6.25, required as 5.6.*) -> satisfiable by laravel/framework[v5.6.25].
Steps To Reproduce:
Put in some view $model->created_at->localeMonth
var_dump($dt->localeMonth); // string(7) "Oktober"
var_dump($dt->shortLocaleMonth); // string(3) "Okt"
And I received this error
"Unknown getter 'localeMonth' (View: /home/igor/projetos/portalcea/resources/views/front/index.blade.php)"
This method above are available on Carbon docs
royduin, nesu, cameronhudson8, antongorodezkiy, ericthornton88 and 4 more
Metadata
Metadata
Assignees
Labels
No labels