Releases: scrapinghub/dateparser
Releases · scrapinghub/dateparser
Release 0.5.0
New features:
DateDataParser
now also returns detected language in the result dictionary.- Explicit and lucid timezone conversion for a given datestring using
TIMEZONE
,TO_TIMEZONE
settings. - Added Hungarian langauge.
- Added setting,
STRICT_PARSING
to ignore imcomplete dates.
Improvements:
Release 0.4.0
New features:
- Support for Language based date order preference while parsing ambiguous dates.
- Support for parsing dates with no spaces in between components.
- Support for custom date order preference using
settings
. - Support for parsing generic relative dates in future.e.g.
tomorrow
,in two weeks
, etc. - Added
RELATIVE_BASE
settings to set date context to any datetime in past or future. - Replaced dateutil.parser.parse with dateparser's own parser.
- Little/no tolerance for invalid dates
Improvements:
- Added simplifications for
12 noon
and12 midnight
. - Fixed several bugs
- Replaced PyYAML library by its active fork
ruamel.yaml
which also fixed the issues with installation on windows using python35. - More predictable
date_formats
handling.
Release 0.3.5
New features:
- Danish language support.
- Japanese language support.
- Support for parsing date strings with accents.
Improvements:
- Transformed languages.yaml into base file and separate files for each language.
- Fixed vietnamese language simplifications.
- No more version restrictions for python-dateutil.
- Timezone parsing improvements.
- Fixed test environments.
- Cleaned language codes. Now we strictly follow codes as in ISO 639-1.
- Improved Chinese dates parsing.
Release 0.3.4
Improvements:
- Fixed broken version 0.3.3 by excluding latest python-dateutil version.
Release 0.3.3
New features:
- Finnish language support.
Improvements:
- Faster parsing with switching to regex module.
RETURN_AS_TIMEZONE_AWARE
setting to return tz aware date object.- Fixed conflicts with month/weekday names similarity across languages.
v0.3.2
New features:
- Added Hijri Calendar support.
- Added settings for better control over parsing dates.
- Support to convert parsed time to the given timezone for both complete and relative dates.
Improvements:
- Fixed problem with caching :func:
datetime.now
in :class:FreshnessDateDataParser
. - Added month names and week day names abbreviations to several languages.
- More simplifications for Russian and Ukranian languages.
- Fixed problem with parsing time component of date strings with several kinds of apostrophes.
v0.3.1
New features:
- Support for Jalali Calendar.
- Belarusian language support.
- Indonesian language support.
Improvements:
- Extended support for Russian and Polish.
- Fixed bug with time zone recognition.
- Fixed bug with incorrect translation of "second" for Portuguese.