In catalog.blade.php use date formatting using its own functions in the mining(). If the function is prescribed in the code template, then everything works as it should, but if it is put in a separate file (functions folder / file time.blade.php) and connect using @include('functions.time'), Laravel does not see it. Maybe I'm not doing something? How to make all the functions that I will need the templates in a separate file and not clutter up the templates?
composer dump-autoload
is not forgotten? - Amani_Greenho commented on July 9th 19 at 10:36