Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move datetime formatting into minijinja filter #51

Open
kellpossible opened this issue Nov 20, 2023 · 0 comments
Open

Move datetime formatting into minijinja filter #51

kellpossible opened this issue Nov 20, 2023 · 0 comments
Labels
refactor Refactor some aspect of the code

Comments

@kellpossible
Copy link
Owner

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.

@kellpossible kellpossible added the refactor Refactor some aspect of the code label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactor some aspect of the code
Projects
Status: No status
Development

No branches or pull requests

1 participant