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

I am using seach_dates in dateparser.search to extract dates and times. I am using this script to get the datetime. ``` PARSED_DATES_SETTINGS = {'DEFAULT_LANGUAGES': ["en"], "TO_TIMEZONE": "UTC", "PREFER_DATES_FROM": "future", "SKIP_TOKENS":...

It is possible to add custom datetime formats for search_dates?

I have found that the following MWE also seems to produce the same bug, even if PREFER_DATES_FROM is not set: ```python from datetime import datetime from dateparser import parse DATEPARSER_SETTINGS...

Fixes #1020 ## Code changes Added a function to check if an input `date_string` belongs to specefied `date_formats` or not ## Help Required Even though I did an extremely small...

These are the most intuitive ways of describing time, but yet the library can't parse these. is there any way we could implement these in the future ? [next/past] [dayName]...

Type: Enhancement

Hi, In this [notebook](https://www.kaggle.com/alexneakameni/01-load-and-parse-dates), I found that dateparser always fails to detect German Format date : DD.MM.YYYY which can simply handle by replacing '.' with '/' before parsing. Not sure...

search_dates

Close #1089 ``` >>> from datetime import datetime >>> dateparser.parse( ... "in 3 hours", ... settings={ ... "TO_TIMEZONE": "UTC", ... "RELATIVE_BASE": datetime.now(), ... }, ... ) datetime.datetime(2022, 12, 7, 14,...

When using the dateparser library with the following code: ``` from dateparser.search import search_dates settings = {'REQUIRE_PARTS': ['month', 'year']} parsed = search_dates('1324 S', languages=['en'], settings=settings) print(parsed) ``` The output is:...

dateparser.parse('Thu, 19 Jan 2023 10:45:00 +03') = None

When hyphen-like characters are passed the parser ignores them, producing an incorrect output. An example of this in the wild would be on wikipedia, such as https://en.wikipedia.org/wiki/List_of_UTC_offsets, which uses the...