Seeking alternative to deprecated code for globally setting Carbon formatting in Laravel
Hello everyone,
I have been using Laravel's Carbon library in my application for date and time formatting. Currently, I have the following code in my AppServiceProvider.php file to globally set the formatting by user preferences.
However, I recently discovered that this code is deprecated and I'm searching for an alternative solution to address this issue. I want to be able to globally set the formatting for the Carbon library.
If anyone has any suggestions or knows the updated approach to achieve this, I would greatly appreciate your help.