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;