Skip to content

CP Listing: show relationships and format columns #230

Closed Answered by duncanmcclean
jorisvan-ons asked this question in Help
Discussion options

You must be logged in to vote

Hey!

I've just left a comment on your other discussion where you've asked a similar-ish question.

I'll see what I can do in terms of improving the documentation around this for others.

for example transform a complete datetime value into a date

In this particular case, you shouldn't need to format this yourself. Can you try adding the time_enabled: false config setting to your Date field and see if that helps?

Maybe also try ensuring the field is cast to date, rather than datetime in your Eloquent model.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by duncanmcclean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants