From 90d3182bba5828150766ed5a6680f332e0d4a60a Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 10 May 2021 20:18:12 +0200 Subject: [PATCH] use configuration item "pubdate_fmt" The config item was added to the project but never used. --- syntax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax.php b/syntax.php index 033badd..b922ba0 100644 --- a/syntax.php +++ b/syntax.php @@ -87,7 +87,7 @@ function _render_rss($renderer, $data){ foreach($fluxrss->channel->item as $item) { $renderer->doc .= '
  • '; $renderer->doc .= ''.(string)$item->title.''; - $renderer->doc .= ' ✎ '.$this->getLang('rss.publish').' '.(string)date('G\hi, d/m/Y', strtotime($item->pubDate)).''; + $renderer->doc .= ' ✎ '.$this->getLang('rss.publish').' '.date($this->getConf('pubdate_fmt'), strtotime($item->pubDate)).''; $renderer->doc .= '
  • '; if(++$i>=$nb_to_display) break;