Ignore locale in RSS output

This commit is contained in:
Max Kostikov 2019-09-14 19:13:50 +02:00 committed by GitHub
parent 8df8d5f7dd
commit b8a9228845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ class pluginRSS extends Plugin {
$xml .= '<title>'.$site->title().'</title>';
$xml .= '<link>'.$site->url().'</link>';
$xml .= '<description>'.$site->description().'</description>';
$xml .= '<lastBuildDate>'.date(DATE_RSS).'</lastBuildDate>';
$xml .= '<lastBuildDate>'.date('r',strtotime($page->getValue('dateRaw'))).'</lastBuildDate>';
// Get keys of pages
foreach ($list as $pageKey) {