Update Kirby to 3.7.4

This commit is contained in:
Lukas Bestle
2022-08-24 10:59:39 +02:00
parent 435b9f4541
commit d89a0a647c
674 changed files with 212 additions and 61 deletions
Executable → Regular
+9
View File
@@ -135,9 +135,18 @@ class Locale
{
$locale = static::normalize($locale);
// locale for core string functions
foreach ($locale as $key => $value) {
setlocale($key, $value);
}
// locale for the intl extension
if (
function_exists('locale_set_default') === true &&
$timeLocale = $locale[LC_TIME] ?? $locale[LC_ALL] ?? null
) {
locale_set_default($timeLocale);
}
}
/**