scrapinghub / scrapinghub/dateparser

Support parsing of relative future dates with "later" keyword (e.g. "1 year later")

Open
#668 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Enhancement
Dominant language
Python
Stars
2.9k
Forks
520
Avg merge
22h 56m
Merged PRs (30d)
6

Description

Currently, the parsing support of relative future date is limited to the "in" keyword, e.g. "in 1 year". It would be nice to add support of the "later" keyword which is frequently used in English to denote future dates, e.g. "1 year later", "5 days later", "2 hours later".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the existing parser handling and tests for relative dates using “in”; add equivalent coverage for “1 year later”, “5 days later”, and “2 hours later”. Done means those expressions parse as future dates consistently with the existing “in” forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.