php & rss – pubDate must be an RFC-822 date-time

In PHP try…

$pubDate = $our__date;
$pubDate= date("D, d M Y H:i:s O", strtotime($pubDate));

 

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.