Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(18)  |  Call(14)  |  Derive(0)  |  Import(4)

        def parse_date(date_string):
    date_string = unicode(date_string)

    return dateutil.parser.parse(date_string)
        


src/f/e/feedreader-0.3.1/feedreader/feeds/atom10.py   feedreader(Download)
"""
Atom 1.0 Support
"""
 
from feedreader.utils.dates import parse_date
                self._published = self.updated
            else:
                self._published = parse_date(datestr)
        return self._published
 
                self._updated = None
            else:
                self._updated = parse_date(datestr)
        return self._updated
 
                self._published = self.updated
            else:
                self._published = parse_date(datestr)
        return self._published
 
                self._updated = None
            else:
                self._updated = parse_date(datestr)
        return self._updated
 

src/f/e/feedreader-HEAD/feedreader/feeds/atom10.py   feedreader(Download)
"""
Atom 1.0 Support
"""
 
from feedreader.utils.dates import parse_date
                self._published = self.updated
            else:
                self._published = parse_date(datestr)
        return self._published
 
                self._updated = None
            else:
                self._updated = parse_date(datestr)
        return self._updated
 
                self._published = self.updated
            else:
                self._published = parse_date(datestr)
        return self._published
 
                self._updated = None
            else:
                self._updated = parse_date(datestr)
        return self._updated
 

src/f/e/feedreader-0.3.1/feedreader/feeds/rss20.py   feedreader(Download)
"""
RSS 2.0 Support
"""
 
from feedreader.utils.dates import parse_date
    def published(self):
        if self._published is None:
            try:
                self._published = parse_date(self._xml.pubDate)
            except AttributeError:
                self._published = None
            else:
                self._published = parse_date(datestr)
        return self._published
 
                self._updated = self.published
            else:
                self._updated = parse_date(datestr)
        return self._updated
 

src/f/e/feedreader-HEAD/feedreader/feeds/rss20.py   feedreader(Download)
"""
RSS 2.0 Support
"""
 
from feedreader.utils.dates import parse_date
    def published(self):
        if self._published is None:
            try:
                self._published = parse_date(self._xml.pubDate)
            except AttributeError:
                self._published = None
            else:
                self._published = parse_date(datestr)
        return self._published
 
                self._updated = self.published
            else:
                self._updated = parse_date(datestr)
        return self._updated