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

Hi, Some context what I am trying to achieve, I am looking into gene symbols that could be recognized as dates. So I am trying to parse every gene symbol...

`dateparser.parse('January 12, 2012 10:00 PM EST')` returns `None`.

I have a use-case where I want to inform the user that some date string is ambiguous. It would be great if `DateDataParser` could expose this as an additional property...

Type: Enhancement

>>> print(dateparser.parse( date_string="2024", settings={"STRICT_PARSING": False, "PREFER_DAY_OF_MONTH": "last", "PREFER_MONTH_OF_YEAR": "last", "PREFER_DATES_FROM": "past"})) >>> 2024-12-**30** 00:00:00 It seems you're skipping a day. It should be 2024-12-**31** 00:00:00 ...running on Macbook Air M2,...

The `parse` function behaves inconsistently when dealing with shortened dates in Portuguese: ![image](https://github.com/scrapinghub/dateparser/assets/59806535/2f088107-c55f-452b-bb49-320aa1c85afe) The function works as expected until April, which is written Abril in PT, thus abr/18, and then...

The parser doesn't parse correctly "09/08/2021г" or "09/08/2021 г" but parses correctly "09/08/2021г." or "09/08/2021 г."

I came across a string that unfortunately doesn't parse. I get the same result in [markusmobius/go-dateparser](https://github.com/markusmobius/go-dateparser) (where I first encountered it). ``` >>> import dateparser >>> dateparser.parse("Thu 30 May 2024...

MCVE: ```py In [1]: from datetime import datetime In [2]: import dateparser In [3]: settings={'PREFER_DAY_OF_MONTH': 'first', 'PREFER_MONTH_OF_YEAR': 'first', 'RELATIVE_BASE': datetime(2023, 8, 23)} In [4]: dateparser.parse("2022", settings=settings).date() Out[4]: datetime.date(2022, 8, 1)...

06/02/2024 in portuguese is a date in February, but date parser 1.1.8 parses as a date in June. ``` >>> from dateparser.search import search_dates >>> d = search_dates("Atualizado por Victória...

Type: Bug - Language