I am writing a little script that needs to get the timezone from an rss feed, and I am using Feed Parser to parse the rss feeds. The way that I am converting the date into Unix Epoch time is:
feedDate = feed['feed'].get('updated_parsed') or feed.entries.get('updated_parsed') feedDate = mktime(datetime(*feedDate[0:6]).timetuple())
This code doesn't take into account the timezone information, but I am wondering if it is possible to. Is there a way to modify my code so that it will?