diff --git a/module/news/news.php b/module/news/news.php index 6a9c48ac..fea6e372 100644 --- a/module/news/news.php +++ b/module/news/news.php @@ -539,6 +539,8 @@ class news extends common // Mise en forme de la signature self::$news[$newsIds[$i]]['userId'] = $this->signature($this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'userId'])); } + self::$dateFormat = $this->getData(['module', $this->getUrl(0), 'config', 'dateFormat']); + self::$timeFormat = $this->getData(['module', $this->getUrl(0), 'config', 'timeFormat']); // Valeurs en sortie $this->addOutput([ 'showBarEditButton' => true, diff --git a/module/news/view/index/index.php b/module/news/view/index/index.php index 9055e98e..62e844fb 100644 --- a/module/news/view/index/index.php +++ b/module/news/view/index/index.php @@ -10,7 +10,7 @@ - +