• Antoine Beaupré's avatar
    expand and cleanup date validation routines · be5e7e27
    Antoine Beaupré authored
    We used to have a long list of fields. Now we just iterate over the
    item, then the feed, and look for the fields we want. It's cleaner
    visually and might even make some feeds validate, as we now look for
    `created_parsed` from feeds as well.
    
    Order should be otherwise unchanged.
    
    This was useful in diagnosing issues with invalid dates, as before
    this change, we couldn't tell which field was picked for the item
    date.
    
    See #7.
    be5e7e27
Name
Last commit
Last update
.gitlab/issue_templates Loading commit data...
completion Loading commit data...
debian Loading commit data...
doc Loading commit data...
feed2exec Loading commit data...
.coveragerc Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG Loading commit data...
CODE_OF_CONDUCT.rst Loading commit data...
CONTRIBUTING.rst Loading commit data...
LICENSE.rst Loading commit data...
README.rst Loading commit data...
feed2exec.ini Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...