kellpossible / kellpossible/avalanche-report

Move datetime formatting into minijinja filter

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
refactor
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.