dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

python parser for human readable dates

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

When I use the `dateparser.parse()` functionality I expect it to behave the same way for two different input dates that are off by one year. However, based on the current...

The setting 'REQUIRE_PARTS' is a nice and clean way to ensure the date contains parts. However, it only supports 'year', 'month', 'day'. Thus, it is currently not possible to use...

Hi, I have found out that a date expressed as `dd.mm.` is incorrectly interpreted as a time. In Czech, we use the dot `.` to separate days, months and years....

The following code: ``` dateparser.search.search_dates("in the sample papers. The year of mention refers ") ``` returns: ``` [('The year of', datetime.datetime(2021, 12, 23, 0, 0))] ``` while clearly there is...

I observed one interesting behavior where for some cases the `current_period` and `past` values of `PREFER_DATES_FROM` return the same result but it's different for others. For example, suppose today is...

1. Lack of support for dot-separated date formats. See #1023. 2. `"się"` and `"nie"` are both flagged as dates, likely since "sie" (notice lack of `ę`) is a shortened form...

search_dates

Is this a bug, an undocumented feature, or maybe I didn't ready the docs thoroughly enough ?=/ ``` In: dp.parse('Time', date_formats=['%d.%m.%Y %H:%M']) Out: datetime.datetime(2021, 11, 19, 0, 0) In: dp.parse('(m)',...

Type: Enhancement
Type: Documentation

Is there a parameter or method to print the code format string that matches the parsed date? For example, in the following code: ``` from datetime import datetime now =...

Parser has failed to parse `2021-09-22 12:30-1030` . with valid format `%Y-%m-%d %H:%M%z` It raise following exception: `ValueError: Not naive datetime (tzinfo is already set) `

Type: Bug

Does the project formally use [semantic versioning](https://semver.org/)? I saw the [HISTORY.rst](https://github.com/scrapinghub/dateparser/blob/master/HISTORY.rst) mentions a breaking change for the jump from `0.7.6` to `1.0.0`, wanted to know for sure if that is...

Type: Enhancement
Type: Documentation