awesome-helpers icon indicating copy to clipboard operation
awesome-helpers copied to clipboard

Utilize Laravel's getLocale method

Open nullthoughts opened this issue 3 years ago • 0 comments

Laravel's config/app.php configuration file allows users to specify a locale, however these settings are ignored when using the money() helper as it is reaching for the PHP locale instead. This PR switches to Laravel's app()->getLocale() method.

nullthoughts avatar May 07 '21 21:05 nullthoughts