Idea: part of day, translatable
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
Currently I'm missing the part which can determine whether it is morning, afternoon, evening or night. It would also be nice if the outcome would be translatable, so it can be used in apps like:
`$dayjs().daypart() + $user.firstname`
resulting in: "Goodmorning John"
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the existing date and translation APIs, then clarify the boundaries for morning, afternoon, evening, and night and how translations should be selected. Done means a daypart API exists with translatable results suitable for the example use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100