Upgrade to release 1.0.0:
- Drop support for Python 2.7 and pypy
- Now DateDataParser.get_date_data() returns a DateData object
instead of a dict
- From now wrong settings are not silenced and raise
SettingValidationError
- Now dateparser.parse() is deterministic and doesn't try previous
locales. Also, DateDataParser.get_date_data() doesn't try the
previous locales by default
- Remove the 'base-formats' parser
- Extract the 'no-spaces-time' parser from the 'absolute-time'
parser and make it an optional parser
- Remove numeral_translation_data
- Remove the undocumented SKIP_TOKENS_PARSER and FUZZY settings
- Remove support for using strings in date_formats
- The undocumented ExactLanguageSearch class has been moved to the
private scope and some internal methods have changed
- Changes in dateparser.utils: normalize_unicode() doesn't accept
bytes as input and convert_to_unicode has been deprecated
- Add Python 3.9 support
- Detect hours separated with a period/dot
- Add support for "decade"
- Add support for the hijri calendar in Python ≥ 3.6
- New logo!
- Improve the README and docs
- Fix the "calendars" extra
- Fix leap years when PREFER_DATES_FROM is set
- Fix STRICT_PARSING setting in no-spaces-time parser
- Consider RETURN_AS_TIME_PERIOD setting for relative-time parser
- Parse the 24hr time format with meridian info
- Other small improvements
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>