scrapinghub / scrapinghub/dateparser
The same text does not works
Open
Nobody has claimed this yet.
search_dates
Status: Bug confirmed
Type: Bug
Type: Bug - Language
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 520
- Avg merge
- 22h 56m
- Merged PRs (30d)
- 6
Description
x = "De las 21:58 horas del 10 de julio a las 01:12 horas del 11 de julio"
y = "De las 23:08 horas del 10 de julio a las 00:52 horas del 11 de julio"
search_dates(x)
search_dates(y)
First one, does not detect day but second one it does
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the two examples through search_dates and compare the returned results, then trace the date parsing path used by that entry point. Done means both Spanish time ranges consistently detect the day transition, with a regression check covering the differing inputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100