diff --git a/src/Service/FeedService.php b/src/Service/FeedService.php index a76b220..c89c4a6 100644 --- a/src/Service/FeedService.php +++ b/src/Service/FeedService.php @@ -73,6 +73,7 @@ class FeedService $itemElement->appendChild(new \DOMElement('description', $episode->getDescription())); $itemElement->appendChild(new \DOMElement('link', $audioUrl)); $itemElement->appendChild(new \DOMElement('guid', $audioUrl)); + $itemElement->appendChild(new \DOMElement('pubDate', $episode->getPublicationDate()->format(DATE_RSS))); $filepath = ($this->parameterBag->get('kernel.project_dir') ?: '')