scrapinghub / scrapinghub/dateparser
[days of the week/month] Next Sunday at 5am, Past Friday at 22h
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 520
- Avg merge
- 22h 56m
- Merged PRs (30d)
- 6
Description
These are the most intuitive ways of describing time, but yet the library can't parse these. is there any way we could implement these in the future ?
[next/past] [dayName] at [time]
and
[dayNum/dayName] of the [next/past] [week/month/MonthName] at [time]
Examples:
monday of the next month at noon
1st monday of the past month at 4pm
2nd sunday of the past month at 20h:33
next wednesday at 2 pm
past sunday at 5 am
Thank you
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
The issue names no files, tests, or entry points. Start by reviewing the existing dateparser syntax and deciding how the requested next/past weekday and ordinal week-of-month forms should behave; done means the listed examples are parsed consistently, including their time expressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100