View Single Post
Old 02-08-2013, 12:12 PM   #2
surf
Member
surf began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Feb 2013
Device: kindle
Quote:
Originally Posted by Lutos View Post
Is there any possible way to change download/conversion date to your own? I often download older issues than the latest and its become too messy when older files have newer dates. I've tried modifying timefmt but it not helped.
not sure whether this code hepl or not

Code:
    def parse_feeds(self):

        feeds = BasicNewsRecipe.parse_feeds(self)

        for currFeed in feeds:
            for a,currArticle in enumerate(currFeed.articles):
                 currArticle.formatted_date =  strftime('[%Y.%m.%d]',currArticle.date)
 
        return feeds
surf is offline   Reply With Quote