Customize format for last-commit badge
- Dominant language
- JavaScript
- Stars
- 27.2k
- Forks
- 5.6k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 46
Description
:clipboard: **Description**
Can we add a query parameter, say `f` which will send to `moment.format(f)`, to control the date format? Maybe not only last-commit badge, but also other date related badges.
My real use-case is a little special. There is a repository, [Bogdanp/awesome-advent-of-code](https://github.com/Bogdanp/awesome-advent-of-code), which collects solutions for a programming puzzle activity. Because the activity is only hold in December every year. It's not easy to distinguish last-commit date among those solution repositories.
Contributor guide
Research direction
Locate the last-commit badge entry point and the handling for date-related query parameters, then compare any other date badges that may share the same logic. The change is complete when the `f` parameter is passed to `moment.format(f)` for the last-commit date and tests cover the requested formatting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100