12204 Nettoyage de commentaires

This commit is contained in:
Fred Tempez 2023-02-10 14:15:28 +01:00
parent c8a546f6e9
commit cece24b60a
1 changed files with 0 additions and 4 deletions

View File

@ -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());
}