./time/py-dateparser, Date parsing library designed to parse dates from HTML pages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.1, Package name: py312-dateparser-1.2.1, Maintainer: pkgsrc-users

dateparser provides modules to easily parse localized dates in almost any
string formats commonly found on web pages.


Required to run:
[time/py-dateutil] [time/py-pytz] [time/py-tzlocal] [textproc/py-regex] [lang/python310]

Master sites:

Filesize: 302.66 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-05 17:22:31 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-dateparser: updated to 1.2.1

1.2.1 (2025-02-05)

Fixes:

- Fix PytzUsageWarning
- Fix date_parser with prefer_month_of_year wrong results
- Fix skipped day when UTC and tz are different days

Improvements:

- Avoid repeated loop over timezones
- Proofread README.rst
- Check for derived types for configuration
- Parse some abbreviated strings as relative dates
- Migrate from hijri-converter to hijridate
- Fixed ClusterFuzz build error by adding dateparser.data as a binary
- Fix an issue detected by OSSFuzz
- Support two-digit years in non-Gregorian calendars
- Refactored CI to run extras separately and test minimum versions of \ 
dependencies, replaced flake8 with ruff, fixed tests
- Set minimum versions for dependencies
- Limited ``numpy`` to 1.x when installing ``dateparser[fasttext]``
   2023-11-17 21:48:06 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dateparser: updated to 1.2.0

1.2.0 (2023-11-17)
------------------

New features:

- New ``PREFER_MONTH_OF_YEAR`` setting

Fixes:

- Absolute years in Russian are no longer being treated as a number of years in
  the past

Cleanups and internal improvements:

- Removed the use of ``datetime.utcnow``, deprecated on Python 3.12
- Applied Black formatting to the code base
- Initial integration with OSSFuzz
- Extended test cases
   2023-03-29 14:57:16 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dateparser: updated to 1.1.8

1.1.8 (2023-03-22)
------------------

Improvements:
- Improved date parsing for Chinese
- Improved date parsing for Czech
- Reorder language by popularity
- Fix leak of memory in cache
- Add support for "\d units later"
- Move modification in CLDR data to yaml
- Add support to use timezone via settings to get PREFER_DATES_FROM result
   2023-01-01 22:39:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dateparser: updated to 1.1.5

1.1.5 (2022-12-29)
------------------

Improvements:

- Parse short versions of day, month, and year
- Add a test for “in 1d”
- Update languages_info
- Add a workaround for zipimporter not having exec_module before Python 3.10
- Stabilize tests at midnight
- Add a test case for French

Cleanups:

- Remove the requirements-build file
   2022-11-22 11:16:01 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-dateparser: updated to 1.1.4

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-21 11:00:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dateparser: updated to 1.1.3

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-25 11:02:38 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-dateparser: updated to 1.1.2

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-17 23:26:31 by Thomas Klausner | Files touched by this commit (3)
Log message:
py-dateparser: unrestrict py-regex dependency

Bump PKGREVISION.