summaryrefslogtreecommitdiff
path: root/time/py-dateparser
AgeCommit message (Collapse)AuthorFilesLines
2022-11-22py-dateparser: updated to 1.1.4adam3-22/+6
1.1.4 (2022-11-21) ------------------ Improvements: - Improved support for languages such as Slovak, Indonesian, Hindi, German and Japanese - Recursively create a model home - Replace regex sub with simple string replace - Add Python 3.10, 3.11 support - Drop support for Python 3.5, 3.6 versions
2022-11-21py-dateparser: updated to 1.1.3adam2-6/+6
1.1.3 (2022-11-03) ------------------ New features: - Add support for fractional units Improvements: - Fix the returned datetime skipping a day with time+timezone input and PREFER_DATES_FROM = 'future' - Fix input translatation breaking keep_formatting - English: support "till date" - English: support “after” and “before” in relative dates Cleanups: - Reorganize internal data - CI updates
2022-10-25py-dateparser: updated to 1.1.2adam2-12/+10
1.1.2 (2022-10-20) ------------------ Improvements: - Added support for negative timestamp - Fixed PytzUsageWarning for Python versions >= 3.6 - Added support for dates with dots and spaces - Improved support for Ukrainian, Croatian and Russian - Added support for parsing Unix timestamps consistently regardless of timezones - Improved tests
2022-09-17py-dateparser: unrestrict py-regex dependencywiz3-2/+19
Bump PKGREVISION.
2022-07-11py-dateparser: updated to 1.1.1adam3-233/+45
1.1.1 (2022-03-17) ------------------ Improvements: - Fixed issue with regex library by pinning dependencies to an earlier version. - Extended support for Russian language dates starting with lowercase. - Allowed to use_given_order for languages too. - Fixed link to settings section. - Defined UTF-8 encoding for Windows. - Fixed directories creation error in CLI utils. 1.1.0 (2021-10-04) ------------------ New features: * Support language detection based on ``langdetect``, ``fastText``, or a custom implementation * Add support for 'by <time>' * Sort default language list by internet usage Improvements: * Improved support of Chinese, Czech * Improvements in ``search_dates`` * Make order of previous locales deterministic * Fix parsing with trailing space * Consider ``RETURN_TIME_AS_PERIOD`` for timestamp times * Exclude failing regex version * Ongoing work multithreading support * Add demo URL QA: * Migrate pipelines from Travis CI to Github Actions * Use versioned CLDR data * Add a script to update table of supported languages and locales * Sort 'skip' keys in yaml files * Improve test coverage * Code cleanup 1.0.0 (2020-10-29) ------------------ Breaking changes: * 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 New features: * 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 Improvements: * 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
2022-01-04*: bump PKGREVISION for egg.mk userswiz1-1/+2
They now have a tool dependency on py-setuptools instead of a DEPENDS
2021-10-26time: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes
2021-10-07time: Remove SHA1 hashes for distfilesnia1-2/+1
2020-06-20py-dateparser: updated to 0.7.6adam3-8/+26
0.7.6: Improvements: * Rename ``scripts`` to ``dateparser_scripts`` to avoid name collisions with modules from other packages or projects 0.7.5: New features: * Add Python 3.8 support * Implement a ``REQUIRE_PARTS`` setting * Add support for subscript and superscript numbers * Extended French support * Extended German support Improvements: * Migrate test suite to Pytest * Add test to check the `yaml` and `json` files content * Add flake8 pipeline with pytest-flake8 * Add partial support for 8-digit dates without separators * Fix possible ``OverflowError`` errors and explicitly avoid to raise ``ValueError`` when parsing relative dates * Fix double-digit GMT and UTC parsing * Fix bug when using ``DATE_ORDER`` * Fix bug when parsing relative time with timezone * Fix milliseconds parsing * Fix wrong values to be interpreted as ``'future'`` in ``PREFER_DATES_FROM`` * Other small improvements
2020-03-07py-dateparser: updated to 0.7.4adam2-8/+8
0.7.4: Improvements: * Fixed Python 2.7 tests 0.7.3: New features: * Extended Norwegian support * Implement a PARSERS setting Improvements: * Add support for `PREFER_DATES_FROM` in relative/freshness parser * Add support for `PREFER_DAY_OF_MONTH` in base-formats parser * Added UTC -00:00 as a valid offset * Fix support for “one” * Fix TypeError when parsing some invalid dates * Fix tokenizer for non recognized characters * Prevent installing regex 2019.02.19 * Resolve DeprecationWarning related to raw string escape sequences * Implement a tox environment to build the documentation * Improve tests stability * Documentation improvements * Performance improvements
2019-09-19py-dateparser: updated to 0.7.2adam2-7/+7
0.7.2: Features: * Extended Czech support * Added `time` to valid periods * Added timezone information to dates found with `search_dates()` * Support strings as date formats Improvements: * Fixed Collections ABCs depreciation warning * Fixed dates with trailing colons not being parsed * Fixed date format override on any settings change * Fixed parsing current weekday as past date, regardless of settings * Added UTC -2:30 as a valid offset * Added Python 3.7 to supported versions, dropped support for Python 3.3 and 3.4 * Moved to importlib from imp where possible * Improved support for Catalan * Documentation improvements
2019-02-13py-dateparser: updated to 0.7.1adam2-13/+14
0.7.1: Features/news: Added detected language to return value of search_dates() Performance improvements Refreshed versions of dependencies Improvements: Fixed unpickleable DateTime objects with timezones Fixed regex pattern to avoid new behaviour of re.split in Python 3.7 Fixed an exception thrown when parsing colons Fixed tests failing on days with number greater than 30 Fixed ZeroDivisionError exceptions
2018-02-09py-dateparser: updated to 0.7.0adam3-53/+883
0.7.0: Features added during Google Summer of Code 2017: * Harvesting language data from Unicode CLDR database (https://github.com/unicode-cldr/cldr-json), which includes over 200 locales See full currently supported locale list in README. * Extracting dates from longer strings of text Special thanks for their awesome contributions! New features: * Added (independently from CLDR) Georgian and Swedish Improvements: * Improved support of Chinese, Thai, French, Russian * Removed ruamel.yaml from dependencies. This should reduce the number of installation issues and improve performance as the result of moving away from YAML as basic data storage format. Note that YAML is still used as format for support language files. * Improved performance through using pre-compiling frequent regexes and lazy loading of data * Extended tests * Updated nose_parameterized to its current package, parameterized
2017-09-29Add py-dateparser-0.6.0:joerg4-0/+134
dateparser provides modules to easily parse localized dates in almost any string formats commonly found on web pages.