dateparser
dateparser copied to clipboard
python parser for human readable dates
Writing the minutes with a fractional value rather than writing out seconds is not a common way to specify time, but it does happen Here's an example: ``` >>> import...
I don't have much details atm but I noticed that in certain cases the performance is awful. I wouldn't say it's a specific version, it has been always like that...
From what I can see, this project has many symptoms of being abandoned by its maintainers. I wonder if among the hundreds of forks, someone there is actively maintaining a...
```python >>> import dateparser >>> print(dateparser.parse('后天')) None >>> print(dateparser.parse('in 2 days')) 2023-09-14 14:22:11.209793 ```
This MR is related to issue #533 which is caused mainly by a time intensive parsing of regular expressions for timezone matching. This MR introduces a global object `TzRegexCache` and...
Why `parse("2021-01-13", settings={'DATE_ORDER': 'YDM'})` return `None` but `parse("2021-13-01", settings={'DATE_ORDER': 'YMD'})` return `datetime.datetime(2021, 1, 13, 0, 0)` ``` dateparser 1.1.8 Python 3.11.5 ```
**when i deploy my code on pythonanywhere server, parse return always **None**.** local is Ok with the same version of datepaser and python. > matches = dateparser.parse(date_str, languages=['es']) > if...
In some cases, there's some inconsistencies with Czech grammar. For example, in English: `In a month` will output a correct datetime object - 1 month from now. But in Czech...
The library fails to parse following format: "the 20 day of September 2021" ``` import dateparser dateparser.parse("the 20 day of September 2021") ```
(Python 3.10.2/dateparser 1.1.8 ``` >>> DAYS = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"] >>> for d in DAYS: ... print(dateparser.parse(d)) ... 2023-06-19 00:00:00 None None None 2023-06-16 00:00:00 2023-06-17...