kellpossible / kellpossible/avalanche-report
Move datetime formatting into minijinja filter
- Dominant language
- Rust
- Stars
- 26
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Investigate whether serialized time values can be formatted by the utility filters in https://docs.rs/minijinja-contrib/latest/minijinja_contrib/filters/fn.dateformat.html this will be much cleaner than the current approach of having a formatted version of the data before passing to template as context.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the current approach that prepares formatted datetime values before template context is passed. Review the linked minijinja-contrib dateformat filter documentation and determine whether serialized time values can use it directly. Done means datetime formatting is handled by the utility filter rather than preformatted context data, with existing behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100