Datetime output for an RSS2 feed

To display properly, an RSS 2 feed needs to have the date entered in something resembling this format:

<pubDate>Thu, 21 Sep 2006 15:15:26 GMT</pubDate>

This is needed to get a date to display in this format:

<pubDate tal:content="python: DateTime(res.Date).rfc822()"> </pubDate>

Comments