I'm writting a python app that convert YML files to static HTML pages for my blog (static site generator). I want to add an RSS feed. On a some place I read that the publication date must be:
<pubDate>Wed, 05 Jul 2017 18:38:23 GMT</pubDate>
But I have:
<pubDate>2017-07-05T18:38:23+00:00</pubDate>
The datetime
API from Python is really cumbersome about these. How to convert the string 2017-07-05T18:38:23+00:00
to GMT?
Thanks in avanced.