Valid rss date format

This commit is contained in:
Diego Najar 2018-11-25 17:46:17 +01:00
parent d8a7f45b40
commit 728484084f
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@
"version": "3.4",
"releaseDate": "2018-11-10",
"license": "MIT",
"compatible": "3.4",
"compatible": "3.5",
"notes": ""
}

View File

@ -67,7 +67,7 @@ class pluginRSS extends Plugin {
$xml .= '<title>'.$page->title().'</title>';
$xml .= '<link>'.$page->permalink().'</link>';
$xml .= '<description>'.Sanitize::html($page->contentBreak()).'</description>';
$xml .= '<pubDate>'.$page->dateRaw('r').'</pubDate>';
$xml .= '<pubDate>'.$page->date(DATE_RSS).'</pubDate>';
$xml .= '<guid isPermaLink="false">'.$page->uuid().'</guid>';
$xml .= '</item>';
} catch (Exception $e) {