scrapinghub / scrapinghub/dateparser
Idiomatic parsing
Open
Nobody has claimed this yet.
Type: Enhancement
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 520
- Avg merge
- 22h 56m
- Merged PRs (30d)
- 6
Description
Is there a way to parse future/past dates based off certain token e.g., arriving/arrived/delivered, etc?
I know that I can make an if else condition or so, but was wondering if there's a better way to handle such edge cases, as I don't have a dataset of all possible combinations.
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
No files, tests, or entry points are named. First clarify how tokens such as “arriving,” “arrived,” and “delivered” should determine future or past dates, then inspect the existing dateparser parsing behavior; done should include an agreed, testable behavior for these cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100