15
0
Commit Graph

6 Commits

Author SHA256 Message Date
6634d47e67 - Update to 1.0.0:
* Breaking changes:
    + Drop support for Python 2.7 and pypy (see #727, #744, #748, #749, #754, #755, #758, #761, #763, #764, #777 and #783)
    + Now ``DateDataParser.get_date_data()`` returns a ``DateData`` object instead of a ``dict`` (see #778).
    + From now wrong ``settings`` are not silenced and raise ``SettingValidationError`` (see #797)
    + Now ``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)
    + Remove the ``'base-formats'`` parser (see #721)
    + Extract the ``'no-spaces-time'`` parser from the ``'absolute-time'`` parser and make it an optional parser (see #786)
    + Remove ``numeral_translation_data`` (see #782)
    + Remove the undocumented ``SKIP_TOKENS_PARSER`` and ``FUZZY`` settings (see #728, #794)
    + Remove support for using strings in ``date_formats`` (see #726)
    + The undocumented ``ExactLanguageSearch`` class has been moved to the private scope and some internal methods have changed (see #778)
    + Changes in ``dateparser.utils``: ``normalize_unicode()`` doesn't accept ``bytes`` as input and ``convert_to_unicode`` has been deprecated (see #749)
  * New features:
    + Add Python 3.9 support (see #732, #823)
    + Detect hours separated with a period/dot (see #741)
    + Add support for "decade" (see #762)
    + Add support for the hijri calendar in Python ≥ 3.6 (see #718)
    + Fix leap years when ``PREFER_DATES_FROM`` is set (see #738)
    + Fix ``STRICT_PARSING`` setting in ``no-spaces-time`` parser (see #715)
    + Consider ``RETURN_AS_TIME_PERIOD`` setting for ``relative-time`` parser (see #807)
    + Parse the 24hr time format with meridian info (see #634)
- Remove extranous %dir for egg-info.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=10
2021-04-07 06:54:12 +00:00
843fac3180 - Update to 0.7.6:
* Rename ``scripts`` to ``dateparser_scripts`` to avoid name collisions
    with modules from other packages or projects
  * Add Python 3.8 support
  * Implement a ``REQUIRE_PARTS`` setting
  * Add support for subscript and superscript numbers
  * Extended French support
  * Extended German support
- Switch from nose to pytest.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=8
2020-07-30 01:42:53 +00:00
Tomáš Chvátal
cf7e64d577 Accepting request 790831 from home:mcalabkova:branches:devel:languages:python
- update to version 0.7.4
  * Fixed Python 2.7 tests
  * Extended Norwegian support
  * Implement a PARSERS setting 
  * 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 tokenizer for non recognized characters 
  * Prevent installing regex 2019.02.19 
  * Added Hungarian language.
  * Added setting, `STRICT_PARSING` to ignore incomplete dates.
  * More simplifications for Russian and Ukrainian languages.

OBS-URL: https://build.opensuse.org/request/show/790831
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=6
2020-04-02 10:37:36 +00:00
Tomáš Chvátal
d7d06f7289 Accepting request 732409 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/732409
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=3
2019-09-23 07:22:27 +00:00
Tomáš Chvátal
d1ebb4dad2 - Fix license
- Format with spec-cleaner
- Remove py2 only parts

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=2
2019-09-13 12:40:09 +00:00
Tomáš Chvátal
39e0295c27 osc copypac from project:home:jayvdb:py-new package:python-dateparser revision:2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=1
2019-09-13 12:15:35 +00:00