indexColumns Date format #1318
michaeljcoyne
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi @michaeljcoyne, There a different ways to approach this but these days, I tend to use attribute accessors. Quick example: In your controller:
In your model:
The advantage is to be able to reuse this anywhere in your app: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi is there any way to format the indexColumns to be a user firendly date format?
Eg. created_at
Thanks
Beta Was this translation helpful? Give feedback.
All reactions