From 2e8536cc0459be0867c381327af1d3536f72cfd2 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Mon, 16 Sep 2019 11:57:51 +0200 Subject: [PATCH] Use DATE_RSS constant in RSS pubDate --- bl-plugins/rss/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/rss/plugin.php b/bl-plugins/rss/plugin.php index c2fce8af..3041b241 100644 --- a/bl-plugins/rss/plugin.php +++ b/bl-plugins/rss/plugin.php @@ -76,7 +76,7 @@ class pluginRSS extends Plugin { $xml .= ''.$page->title().''; $xml .= ''.$this->urlRSS($page->permalink()).''; $xml .= ''.Sanitize::html($page->contentBreak()).''; - $xml .= ''.date('r',strtotime($page->getValue('dateRaw'))).''; + $xml .= ''.date(DATE_RSS,strtotime($page->getValue('dateRaw'))).''; $xml .= ''.$page->uuid().''; $xml .= ''; } catch (Exception $e) {