Correzioni minori

This commit is contained in:
Dasc3er 2021-04-12 09:46:50 +02:00
parent 20e127c854
commit 704a768d2b
3 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,10 @@
*/
function locale(): string
{
return app()->getLocale();
$locale = app()->getLocale();
$dot = strpos($locale, '.');
return substr($locale, 0, $dot === false ? null : $dot);
}
/**

View File

@ -66,7 +66,7 @@ return [
|
*/
'timezone' => 'UTC',
'timezone' => 'Europe/Rome',
/*
|--------------------------------------------------------------------------

2
legacy

@ -1 +1 @@
Subproject commit 9a3a78520b0a3be853c2c47908e060f7d608983f
Subproject commit 3900b789459d1cc805338bcc795a3ad187b972d0