matthewmueller / matthewmueller/date
2 hours work but not 'two' hours
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
There should be a mapping of 2 with the word two so that it recognizes when someone types two hours from now, and extending it to 0 to 60
Thanks,
Fakhruddin
Contributor guide
No contributing guide indexed for this repository
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 locating the date parser or entry point that handles phrases such as "hours from now" and inspect how numeric hour values are recognized. Extend the existing mapping through 0 to 60, including the word "two" for 2, then verify that equivalent numeric and word-based inputs produce the expected dates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100