Refactor humanize() method, expand usage, fix edge cases
Open
enhancement
performance
- Dominant language
- Python
- Stars
- 9.1k
- Forks
- 784
- PR merge metrics
- No merged PRs in 30d
Description
`.humanize()` is getting kind of long and could do with refactoring. We'd also like to explore allowing other inputs such as `date` and `timedelta` objects.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the humanize() method and reading its current implementation and callers. Clarify whether the goal is structural refactoring, support for date and timedelta objects, or both, then define the edge cases and tests that demonstrate the intended behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100