- update to 1.4.0:
* Remove import-time loading of timezone offset data from
pickle to prevent unsafe deserialization from packaged data
* Replace eval() use when parsing no_word_spacing with strict
boolean parsing to prevent code execution from locale
metadata
* Add support for expressions like "N {interval} from now" in
English
* Add support for the en-US locale
* Honor REQUIRE_PARTS for ambiguous month-number inputs by
retrying with a year-biased DATE_ORDER
* Fix parsing word-number relative phrases such as "two days
later"
* Allow md5hash to work in FIPS environments
* Add Bosnian Cyrillic (ijekavica) date translations
* Add a new browser-based demo to the project documentation
* Update installation documentation to replace setup.py install
guidance
* Add a project security policy
* search_dates() can now detect time spans from expressions
like “past month”, “last week”, etc. For details, see the
“Time Span Detection” section and the RETURN_TIME_SPAN,
DEFAULT_START_OF_WEEK and DEFAULT_DAYS_IN_MONTH settings in
the documentation.
* Assume the current year if not specified
* Support expressions like “yesterday +1h”
* English: Support most 2-letter day-of-the-week names
* English: Support “in N weeks' time”
* Finnish: Support dates with “klo”
* Russian: Support compound ordinals
OBS-URL: https://build.opensuse.org/request/show/1346086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dateparser?expand=0&rev=24
Description
No description provided
Languages
Diff
100%