From 9a7668587a741dc9af8501d963152df9e9313dae Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sat, 14 Sep 2019 19:16:58 +0200 Subject: [PATCH] Update plugin.php --- bl-plugins/rss/plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl-plugins/rss/plugin.php b/bl-plugins/rss/plugin.php index bf39c60d..1681d480 100644 --- a/bl-plugins/rss/plugin.php +++ b/bl-plugins/rss/plugin.php @@ -59,7 +59,7 @@ class pluginRSS extends Plugin { $xml .= ''.$site->title().''; $xml .= ''.$site->url().''; $xml .= ''.$site->description().''; - $xml .= ''.date('r',strtotime($page->getValue('dateRaw'))).''; + $xml .= ''.date(DATE_RSS).''; // Get keys of pages foreach ($list as $pageKey) { @@ -70,7 +70,7 @@ class pluginRSS extends Plugin { $xml .= ''.$page->title().''; $xml .= ''.$page->permalink().''; $xml .= ''.Sanitize::html($page->contentBreak()).''; - $xml .= ''.$page->date(DATE_RSS).''; + $xml .= ''.date('r',strtotime($page->getValue('dateRaw'))).''; $xml .= ''.$page->uuid().''; $xml .= ''; } catch (Exception $e) {