[enhancement] support human-friendly date parsing (e.g. "next monday at 3pm")
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 233
- Avg merge
- 1h 44m
- Merged PRs (30d)
- 1
Description
it would be great if we could create events with human-friendly readable date parsing such as:
next monday at 3pmtoday at 2pmin 1hevery tuesday at noononce every 2 weeks on tuesday at noonevery first monday of the month
not all cases can be handled by dateparser but most i think (no need to run a big LLM on a 32GB memory GPU to parse this i think)
there's also recurrent which probably solves all cases!
recurrent.parse('every first monday of the month at 2pm until December')
'RRULE:BYDAY=1MO;BYHOUR=14;BYMINUTE=0;INTERVAL=1;FREQ=MONTHLY;UNTIL=20231201'
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 provides example date expressions and points to dateparser and recurrent, but names no khal files, tests, or entry points. Start by locating the event-creation input parser and deciding which expressions and library behavior are in scope. Done should mean the supported examples create the intended events with coverage for the chosen parsing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100