Quantcast
Viewing latest article 2
Browse Latest Browse All 3

Answer by iamamac for Parse Facebook feed datetime in python?

Use entries[i].updated_parsed instead of entries[i].updated, and feedparser will return a parsed 9-tuple for you. (Documentation)

Then build a datetime object and pass it to Django or format to a string by yourself.

There is a similar question here.


Viewing latest article 2
Browse Latest Browse All 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>