Forum Discussion
Joe Ayre
Aug 11, 2020Brass Contributor
Display column in local date format using JSON list view formatting
I've just noticed that using toLocaleDateString([$Modified]) to display a date column in local format i.e. DD/MM/YYYY only works for column formatting, and seems to be completely ignored when using l...
Joe Ayre
Aug 11, 2020Brass Contributor
Just a quick update - a little gotcha that trips me up often is that if you want to display the contents of a column using list view formatting, you still need that column to be 'visible' in the view itself. Otherwise, it will just not appear. I've now got the calculated column appearing and the date format is DD/MM/YYYY - basically I just forgot to set the calculated column to visible in the view itself.
The toLocaleDateString() function still does nothing though so the question is still unanswered on that front.