dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

python parser for human readable dates

Results 211 dateparser issues
Sort by recently updated
recently updated
newest added

dateparser 1.2.0 on Python 3.13 / Linux: ``` $ python3 -q -Wall >>> from dateparser import parse >>> parse("2024-11-27") .../lib/python3.13/site-packages/dateparser/utils/strptime.py:94: DeprecationWarning: Parsing dates involving a day of month without a...

good first issue

The test fails when it runs at midnight or, in general, when a time difference causes changes in dates for UTC and non-UTC time zones. Some tests expect the local...

When I tried to parse the datetime object from '1w ago,' dateparser returned None. However, it worked fine with '1week ago' ![Image](https://github.com/user-attachments/assets/5615acca-6647-4466-8583-3c9630526c6b)

Adding "day" in the middle of a date fails parsing: ``` >>> import dateparser as dp >>> dp.parse("the 1st day of March, 2025") >>> dp.parse("the 1st of March, 2025") datetime.datetime(2025,...

>>> dateparser.parse('1 เดือนตุลาคม 2005') datetime.datetime(2005, 10, 1, 0, 0) >>> dateparser.parse('6 วัน ที่แล้ว') >>> >>> print(sys.version) 3.11.4 (main, Jul 25 2023, 17:36:13) [Clang 14.0.3 (clang-1403.0.22.14.1)] dateparser==1.2.1

Hi, thank you so much for conceiving this excellent library, [dateparser is awesome](https://github.com/scrapinghub/dateparser/issues/925). We are just having the need to parse date strings like `2025Q01`, `2025Q02`, and so forth. Maybe...

`> dateparser.parse("2024-10-05")` `datetime.datetime(2024, 10, 5, 0, 0) # OK` `> dateparser.parse("2024-10-05", languages=['pt', 'es'])` `datetime.datetime(2024, 5, 10, 0, 0) # Wrong afaik` System info: `> sys.version` `'3.8.10 (default, Jan 17 2025,...

For visibility: the [fasttext](https://github.com/facebookresearch/fastText) repo is archived since March 2024, with no releases on GitHub since 2020 (though 0.9.3 was released on PyPI later than the repo was archived). Not...

I am using the dateparser.search.search_dates() method in 3.11 and 3.12 library locally and it works fine. ``` >>> print(sys.version) 3.12.0 (main, Jan 28 2025, 14:59:20) [Clang 16.0.0 (clang-1600.0.26.4)] >>> from...

I am using the below code and I am getting incorrect values returned: ``` from dateparser.search import search_dates content = "Agreement shall be renewed through and including December 31, 2024...