From cece24b60a8f1f5065f62e23dfb11b47acb2bafc Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 10 Feb 2023 14:15:28 +0100 Subject: [PATCH] 12204 Nettoyage de commentaires --- core/class/helper.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index d5995ab5..efc39b64 100644 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -53,10 +53,6 @@ class helper public static function dateUTF8($format, $date) { require_once 'core/class/strftime/php-8.1-strftime.class.php'; - /*return mb_detect_encoding(\PHP81_BC\strftime($format, $date), 'UTF-8', true) - ? \PHP81_BC\strftime($format, $date) - : utf8_encode(\PHP81_BC\strftime($format, $date)); - */ return mb_convert_encoding(\PHP81_BC\strftime($format, $date), 'UTF-8', mb_list_encodings()); }