Formatting dates returned in multi-relationship table column?
I have a table column that references a many-to-many relationship field, and I want to display a formatted version of a date field/attribute on the related models that are returned. Right now the column state comes as a comma-separated list of whatever default Carbon formatting is in place. Before I go down the road of splitting out those text values in $state so I can re-parse and re-format them (!), is there a better way to format the individual values of relationships returned? Thanks.
1 Reply
Solution
I'm trying this for now, seems to be working: