Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Change date format in Gridfield table


Reply

2 Posts   417 Views

Avatar
hp777

30 March 2013 at 3:40am Community Member, 10 Posts

In CMS grid >Files>Uploads>dates
not respecting the default date format. How do I change the date format?
It shows as 29/03/2013
should be Mar 29, 2013
or whatever profile states it should be

Avatar
swaiba

2 April 2013 at 6:31am Forum Moderator, 1796 Posts

I'm sure there is a better way, but casting might still working (about half way down - http://doc.silverstripe.com/framework/en/topics/data-types)