setlocale pour la classe strftime

This commit is contained in:
Fred Tempez 2022-10-08 16:45:02 +02:00
parent 2c4f78fbfb
commit d1fc4fc2d8

View File

@ -350,6 +350,7 @@ class common
if (!file_exists(self::I18N_DIR . self::$i18nUI . '.json')) { if (!file_exists(self::I18N_DIR . self::$i18nUI . '.json')) {
self::$i18nUI = 'fr_FR'; self::$i18nUI = 'fr_FR';
} }
\setlocale(LC_TIME, self::$i18nUI . '.UTF-8');
// Utilisateur connecté // Utilisateur connecté
if ($this->user === []) { if ($this->user === []) {