From d0827ca3e79567209e8c07d3f6c480419de7d842 Mon Sep 17 00:00:00 2001 From: Prof Langues Date: Mon, 12 Oct 2020 17:32:27 +0200 Subject: [PATCH] format date --- core/core.php | 2 -- index.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index bd1d184c..7a2a402f 100644 --- a/core/core.php +++ b/core/core.php @@ -1776,8 +1776,6 @@ class core extends common { * - Une partie de l'URL fait partie de la liste de filtrage (édition d'un module etc..) * - L'édition est ouverte depuis un temps dépassé, on considère que la page est restée ouverte et qu'elle ne sera pas validée */ - echo $this->getuser('id'); - die(); foreach($this->getData(['user']) as $userId => $userIds){ $t = explode('/',$this->getData(['user', $userId, 'accessUrl'])); if ( $this->getUser('id') && diff --git a/index.php b/index.php index 682664c3..4374aae8 100644 --- a/index.php +++ b/index.php @@ -23,7 +23,7 @@ if(version_compare(PHP_VERSION, '5.6.0', '<')) { /* Set locale to French */ date_default_timezone_set('Europe/Paris'); -setlocale (LC_TIME, 'fr_FR.utf8','fra'); +setlocale (LC_ALL, 'fr_FR.utf8','fra'); /** * Initialisation de Zwii