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

Many secure environments disable the `hashlib.md5` function because it is insecure, this causes the line below to fail making dateparser unusable in these environments: https://github.com/scrapinghub/dateparser/blob/02bd2e5dd4477b4f6db98c5e98149458eb3cc821/dateparser/conf.py#L52 This is remedied by replacing...

Are there any plans to add support for expressions such as "in the last 2 months" or "in the past week", or "in the past 3 months" etc? At the...

Many secure environments disable the `hashlib.md5` function because it is insecure, the causes the line below to fail making dateparser unusable in these environments: https://github.com/scrapinghub/dateparser/blob/02bd2e5dd4477b4f6db98c5e98149458eb3cc821/dateparser/conf.py#L52 This can easily be remedied...

Type: Bug
Status: Bug confirmed
good first issue

> Another issue I can bring up that I didn't find mentioned anywhere, is parsing dates like "двадцать четвёртое февраля", ignoring the first word, not being able to parse multi-word...

Fixes #1268 Small discussion about 'klo' in Finnish: https://www.reddit.com/r/LearnFinnish/comments/y7xqhb/leaving_out_klo_when_writing_time

dateparser cannot recognize Finnish dates with "klo" inside. #### Code that reproduces the issue ```python import dateparser dateparser.parse("28 maalis klo 9:37") ``` #### Expected behavior The above code should return...

``` >>> print(dateparser.parse("today")) 2025-04-05 19:29:42.111011 >>> print(dateparser.parse("the 1st of last month")) 2025-03-05 19:29:46.118149 >>> ``` Inserting the "day" word does not fix it: ``` >>> print(dateparser.parse("the 1st day of last...

HI, thanks for date parser. I am experimenting with collecting freehand dates and times entered into resource tags. I have tried the following: print(dateparser.parse('6/4/25 7', settings={'DATE_ORDER': 'DMY', 'PREFER_DAY_OF_MONTH': 'first', "PREFER_MONTH_OF_YEAR":...

Found this strange behaviour, German weekday "Montag" (Monday) only works with 'PREFER_DATES_FROM': 'future'. Not sure what's going on here, all other weekdays work as expected though. ``` all_found_dates = dateparser.search.search_dates("Montag",...

In cases where only the day of the week is input, for example, 'Monday', without the day and month, the `set_correct_day_from_settings` and `set_correct_month_from_settings` functions can produce an incorrect date. I...