python parser for human readable dates
Breaking changes:
DateDataParser.get_date_data()
returns a DateData
object instead of a dict
(see #778).settings
are not silenced and raise SettingValidationError
(see #797)dateparser.parse()
is deterministic and doesn't try previous locales. Also, DateDataParser.get_date_data()
doesn't try the previous locales by default (see #781)'base-formats'
parser (see #721)'no-spaces-time'
parser from the 'absolute-time'
parser and make it an optional parser (see #786)numeral_translation_data
(see #782)SKIP_TOKENS_PARSER
and FUZZY
settings (see #728, #794)date_formats
(see #726)ExactLanguageSearch
class has been moved to the private scope and some internal methods have changed (see #778)dateparser.utils
: normalize_unicode()
doesn't accept bytes
as input and convert_to_unicode
has been deprecated (see #749)New features:
Improvements:
PREFER_DATES_FROM
is set (see #738)STRICT_PARSING
setting in no-spaces-time
parser (see #715)RETURN_AS_TIME_PERIOD
setting for relative-time
parser (see #807)Improvements:
scripts
to dateparser_scripts
to avoid name collisions with modules from other packages or projects (see https://github.com/scrapinghub/dateparser/pull/707)New features:
REQUIRE_PARTS
setting (see https://github.com/scrapinghub/dateparser/pull/703)Improvements:
yaml
and json
files content (see https://github.com/scrapinghub/dateparser/pull/663 and https://github.com/scrapinghub/dateparser/pull/692)OverflowError
errors and explicitly avoid to raise ValueError
when parsing relative dates (see https://github.com/scrapinghub/dateparser/pull/686)DATE_ORDER
(see https://github.com/scrapinghub/dateparser/pull/628)'future'
in PREFER_DATES_FROM
(see https://github.com/scrapinghub/dateparser/pull/629)New features
Improvements
Broken version
Features:
time
to valid periodssearch_dates()
Improvements:
importlib
from imp
where possibleFeatures/news:
search_dates()
Improvements:
DateTime
objects with timezonesre.split()
in Python 3.7ZeroDivisionError
exceptionsFeatures added during Google Summer of Code 2017:
New features:
Improvements:
Planned for next release:
New features:
Improvements:
Packaging: