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

Allow passing a function to format a date or datetime #632

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

John-Goff
Copy link
Contributor

Our current homespun admin panel has some custom logic based on Timex for formatting, which can't be replicated with Calendar.strftime/2. To resolve this, I made it possible to pass a function which formats the date or datetime.

We've started using Backpex for one admin page so far, looking to start using it for more! Thanks for your hard work and great project 😄

@John-Goff John-Goff changed the title Format date datetime function Allow passing a function to format a date or datetime Oct 13, 2024
@Flo0807 Flo0807 added the feature New feature label Oct 16, 2024
@Flo0807 Flo0807 merged commit c23b933 into naymspace:develop Oct 16, 2024
6 checks passed
@John-Goff John-Goff deleted the format-date-datetime-function branch October 23, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants