Skip to content

Commit

Permalink
fix sk dates formating
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-kamil committed Feb 15, 2024
1 parent e0c1843 commit 2f5d079
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public function register()
*/
public function boot()
{
if (config('app.locale') === 'sk') {
setlocale(LC_ALL, 'sk_SK.UTF-8');
}

Paginator::useBootstrap();

Blade::directive('date_localized', function ($expression) {
Expand Down

0 comments on commit 2f5d079

Please sign in to comment.