Show dates in european format
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Rafael Epplée 2025-12-02 16:59:46 +01:00
parent ee414c9440
commit e6c5a58c65
No known key found for this signature in database
GPG key ID: B4EFE6DC59FAE118
6 changed files with 54 additions and 11 deletions

View file

@ -32,6 +32,7 @@ defmodule MvWeb.MemberLive.Index do
alias Mv.Membership
alias MvWeb.MemberLive.Index.Formatter
alias MvWeb.Helpers.DateFormatter
# Prefix used in sort field names for custom fields (e.g., "custom_field_<id>")
@custom_field_prefix "custom_field_"
@ -932,4 +933,7 @@ defmodule MvWeb.MemberLive.Index do
Map.get(visibility_config, Atom.to_string(field), true)
end)
end
# Public helper function to format dates for use in templates
def format_date(date), do: DateFormatter.format_date(date)
end