matthewmueller / matthewmueller/date
favour current day (optionally?)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
tough call for this I guess, if you enter something like "1pm" I guess it's ambiguous, for my cases favouring the recently-passed 1pm would be better than the next, right now we'd have to use "last 1pm" which is a little awkward haha. Anyway let me know what you think or if you have any ideas
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
The issue names no files or tests. Start by reproducing how the parser handles "1pm" and "last 1pm", then review the relevant date-parsing entry point to determine whether an unqualified time should favor the recently passed occurrence. Done means the behavior is agreed, implemented, and covered for the ambiguous time cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100