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

The date string '20240201' can not be parsed.

suggestion support parsing strings like "last monday", "next monday"

YYYY-MM-DD interpreted as YYYY-DD-MM for arabic, but also looks like in other languages which prefer DMY order, but this looks strange -- it seems that if year is first, then...

It would be helpful if the section on [Default Languages](https://dateparser.readthedocs.io/en/latest/settings.html#default-languages) in the docs made it clearer that `DEFAULT_LANGUAGES` is an _additional_ setting and should not be confused with the [main...

Hi, I noticed that when parsing a date with missing month and day of month with `{"PREFER_DAY_OF_MONTH": "last", "PREFER_MONTH_OF_YEAR": "last"}` settings, we default to the last day of the current...

tested on 2023-11-27, 15:33 UTC: v1.1.8: ``` >>> import dateparser >>> dateparser.parse("Friday 15:53", settings={'PREFER_DATES_FROM': 'future'}) datetime.datetime(2023, 12, 1, 15, 53) ``` v1.2.0: ``` >>> import dateparser >>> dateparser.parse("Friday 15:53", settings={'PREFER_DATES_FROM':...

Type: Bug
good first issue

Fixes https://github.com/scrapinghub/dateparser/issues/1170

Type: Bug

https://github.com/scrapinghub/dateparser/blob/master/.github/workflows/main.yml has an explicit `tox -e py` which causes all envs to just run the tests, including e.g. flake8 and twinecheck jobs.

Type: Bug
good first issue

In version 1.2.0 this works fine: ``` import datetime import pytz dateparser.parse( "3pm", settings={ "TIMEZONE": "America/Los_Angeles", "TO_TIMEZONE": "America/Los_Angeles", "RETURN_AS_TIMEZONE_AWARE": True, "RELATIVE_BASE": datetime.datetime.now(), "PREFER_DATES_FROM": "future"}) ``` but this returns `None`: ```...